fix warning
This commit is contained in:
parent
47f32ef19b
commit
b072a02f66
@ -114,7 +114,7 @@ if (!empty($action) && $action == 'fetch' && !empty($id)) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_object($form)) {
|
if (empty($form) || !is_object($form)) {
|
||||||
$form = new Form($db);
|
$form = new Form($db);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user