[-] IN : Merge of https://github.com/PrestaShop/PrestaShop/pull/1095
This commit is contained in:
1 parent
68edf085d4
commit
e505588688
1 file changed
+1
-1
@@ -346,7 +346,7 @@ if (empty($fail_result))
|
|||||||
if (strpos($phpString, '::') === false)
|
if (strpos($phpString, '::') === false)
|
||||||
{
|
{
|
||||||
$func_name = str_replace($pattern[0], '', $php[0]);
|
$func_name = str_replace($pattern[0], '', $php[0]);
|
||||||
require_once(_PS_INSTALLER_PHP_UPGRADE_DIR_.$func_name.'.php');
|
require_once(_PS_INSTALLER_PHP_UPGRADE_DIR_.Tools::strtolower($func_name).'.php');
|
||||||
$phpRes = call_user_func_array($func_name, $parameters);
|
$phpRes = call_user_func_array($func_name, $parameters);
|
||||||
}
|
}
|
||||||
/* Or an object method */
|
/* Or an object method */
|
||||||
|
|||||||
Reference in new issue
Block a user