Fix loop
This commit is contained in:
parent
320513d789
commit
277b81ce1b
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user