fix warning
This commit is contained in:
parent
cca4bef00b
commit
b1ce17dd4e
1 changed files with 3 additions and 1 deletions
|
|
@ -314,7 +314,9 @@ if ($object->id > 0) {
|
|||
}
|
||||
|
||||
$author = new User($db);
|
||||
if (!empty($object->fk_user_author)) {
|
||||
if (!empty($object->user_creation_id)) {
|
||||
$author->fetch($object->user_creation_id);
|
||||
} elseif (!empty($object->fk_user_author)) {
|
||||
$author->fetch($object->fk_user_author);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue