Fix php8
This commit is contained in:
parent
82ee5c2825
commit
eb9be15c4c
1 changed files with 2 additions and 2 deletions
|
|
@ -644,9 +644,9 @@ class Inventory extends CommonObject
|
|||
if ($this->db->num_rows($result)) {
|
||||
$obj = $this->db->fetch_object($result);
|
||||
$this->id = $obj->rowid;
|
||||
if ($obj->fk_user_author) {
|
||||
if ($obj->fk_user_creat) {
|
||||
$cuser = new User($this->db);
|
||||
$cuser->fetch($obj->fk_user_author);
|
||||
$cuser->fetch($obj->fk_user_creat);
|
||||
$this->user_creation = $cuser;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue