Fix syntax error

This commit is contained in:
ldestailleur 2025-09-17 14:22:53 +02:00
parent f5d7d165b0
commit f2f5f23f8f

View file

@ -420,7 +420,7 @@ class DataPolicyCron
} else {
// For others, force the value, but only if not already empty.
if (!empty($object->$field)) {
$newval = str_replace_('__ID__', $object->id ? (string) $object->id : '0', $val);
$newval = str_replace('__ID__', $object->id ? (string) $object->id : '0', $val);
$object->$field = $newval;
}
}