forked from Wavyzz/dolibarr
For not error Undefined property: stdClass::$id
This commit is contained in:
@@ -218,7 +218,7 @@ class ActionComm extends CommonObject
|
|||||||
$this->userassigned[$tmpid]=array('id'=>$tmpid);
|
$this->userassigned[$tmpid]=array('id'=>$tmpid);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_object($this->contact) && $this->contact->id > 0 && ! ($this->contactid > 0)) $this->contactid = $this->contact->id; // For backward compatibility. Using this->contact->xx is deprecated
|
if (is_object($this->contact) && isset($this->contact->id) && $this->contact->id > 0 && ! ($this->contactid > 0)) $this->contactid = $this->contact->id; // For backward compatibility. Using this->contact->xx is deprecated
|
||||||
|
|
||||||
|
|
||||||
$userownerid=$this->userownerid;
|
$userownerid=$this->userownerid;
|
||||||
|
|||||||
Reference in New Issue
Block a user