Fix syntax error
This commit is contained in:
parent
f5d7d165b0
commit
f2f5f23f8f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue