This commit is contained in:
Laurent Destailleur 2025-11-19 12:12:07 +01:00
parent 0a6489a55f
commit 5ccab94697

View file

@ -12093,7 +12093,7 @@ function dol_eval_standard($s, $hideerrors = 1, $onlysimplestring = '1')
$matches = array();
preg_match_all($pattern, $s, $matches);
if (!empty($matches)) {
if (count($matches)) {
foreach ($matches[1] as $m) {
$m = trim($m);
if (empty($m)) {