Merge branch '22.0' of github.com:Dolibarr/dolibarr into develop

This commit is contained in:
Laurent Destailleur
2025-11-21 15:18:08 +01:00

View File

@@ -11920,6 +11920,9 @@ function dol_eval_standard($s, $hideerrors = 1, $onlysimplestring = '1')
if (!is_scalar($s)) {
return "Bad call of dol_eval. First parameter must be a string, found ".var_export($s, true);
}
if (!is_scalar($s)) {
return "Bad call of dol_eval. First parameter must be a string, found ".var_export($s, true);
}
try {
global $dolibarr_main_restrict_eval_methods;