This commit is contained in:
Laurent Destailleur 2022-09-25 22:08:06 +02:00
parent 320513d789
commit 277b81ce1b

View File

@ -1782,6 +1782,8 @@ class FormFile
$result = 0;
if (is_object($object_instance)) {
$object_instance->id = 0;
$object_instance->ref = '';
if ($id) {
$result = $object_instance->fetch($id);
} else {