Skip to content

Commit

Permalink
Merge pull request #274 from Sparclex/4.x
Browse files Browse the repository at this point in the history
Fix deprecation warning in twig loader
  • Loading branch information
othercorey authored Apr 1, 2021
2 parents 7dc2eff + 7167e0d commit 110925d
Showing 1 changed file with 1 addition and 1 deletion.
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 110925d

Please sign in to comment.