Merge pull request #23351 from braito4/patch-6
php 8 warning fk_user_cloture
This commit is contained in:
commit
85f6bd4679
@ -2265,7 +2265,7 @@ class Project extends CommonObject
|
||||
$this->user_creation = $cuser;
|
||||
}
|
||||
|
||||
if ($obj->fk_user_cloture) {
|
||||
if (!empty($obj->fk_user_cloture)) {
|
||||
$cluser = new User($this->db);
|
||||
$cluser->fetch($obj->fk_user_cloture);
|
||||
$this->user_cloture = $cluser;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user