php 8 warning fk_user_cloture
This commit is contained in:
parent
3f99670b97
commit
6dcb6405f3
@ -2265,7 +2265,7 @@ class Project extends CommonObject
|
|||||||
$this->user_creation = $cuser;
|
$this->user_creation = $cuser;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($obj->fk_user_cloture) {
|
if (!empty($obj->fk_user_cloture)) {
|
||||||
$cluser = new User($this->db);
|
$cluser = new User($this->db);
|
||||||
$cluser->fetch($obj->fk_user_cloture);
|
$cluser->fetch($obj->fk_user_cloture);
|
||||||
$this->user_cloture = $cluser;
|
$this->user_cloture = $cluser;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user