Skip to content

Commit

Permalink
Merge pull request #532 from AlexiZ/patch-1
Browse files Browse the repository at this point in the history
Fix : Use of "self" in callables is deprecated
  • Loading branch information
helios-ag authored Nov 26, 2024
2 parents 03ea9ab + e13d41d commit f75e211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ElFinder/ElFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public function __construct($opts)
$doRegist = (false !== strpos($cmd, '*'));

if (!$doRegist) {
$doRegist = ($_reqCmd && in_array($_reqCmd, array_map('self::getCmdOfBind', explode(' ', $cmd))));
$doRegist = ($_reqCmd && in_array($_reqCmd, array_map('elFinder::getCmdOfBind', explode(' ', $cmd))));
}

if ($doRegist) {
Expand Down

0 comments on commit f75e211

Please sign in to comment.