Skip to content

Commit

Permalink
Merge pull request #275 from cakephp/fix-deprecation
Browse files Browse the repository at this point in the history
Fix deprecation and update cakephp to 3.7
  • Loading branch information
othercorey authored Apr 6, 2021
2 parents b8afa99 + e58ed88 commit 463e1a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"ajgl/breakpoint-twig-extension": "^0.3.0",
"aptoma/twig-markdown": "^2.0",
"asm89/twig-cache-extension": "^1.0",
"cakephp/cakephp": "^3.6",
"cakephp/cakephp": "^3.7",
"jasny/twig-extensions": "^1.0",
"twig/twig": "^1.27",
"umpirsky/twig-php-function": "0.1"
Expand Down
2 changes: 1 addition & 1 deletion src/Lib/Twig/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ protected function resolveFileName($name)
*/
protected function getPaths($plugin)
{
if ($plugin === null || !Plugin::loaded($plugin)) {
if ($plugin === null || !Plugin::isLoaded($plugin)) {
return App::path('Template');
}

Expand Down

0 comments on commit 463e1a6

Please sign in to comment.