fix warning
This commit is contained in:
parent
77efbda148
commit
3cb17d7535
@ -112,7 +112,7 @@ if (!isset($savingdocmask) || !empty($conf->global->MAIN_DISABLE_SUGGEST_REF_AS_
|
||||
}
|
||||
}
|
||||
|
||||
if (!is_object($formfile)) {
|
||||
if (empty($formfile) || !is_object($formfile)) {
|
||||
$formfile = new FormFile($db);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user