Skip to content

Commit

Permalink
use is loaded instead of loaded check to prevent deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
silvan.kraehenbuehl committed Apr 1, 2021
1 parent 7dc2eff commit 7167e0d
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 7167e0d

Please sign in to comment.