From e13d41db27cab3075e69c7e49a8cf959735ce541 Mon Sep 17 00:00:00 2001 From: Alexis Date: Tue, 26 Nov 2024 10:09:13 +0100 Subject: [PATCH] Fix : Use of "self" in callables is deprecated Fixes issue !531 --- src/ElFinder/ElFinder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ElFinder/ElFinder.php b/src/ElFinder/ElFinder.php index f61dba1..e430c88 100644 --- a/src/ElFinder/ElFinder.php +++ b/src/ElFinder/ElFinder.php @@ -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) {