mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 00:53:00 +01:00
fix class actioncomm for travis and feature userassigned
This commit is contained in:
@@ -144,13 +144,12 @@ class ActionComm extends CommonObject
|
||||
$this->userassigned=array();
|
||||
$this->userassigned[$tmpid]=array('id'=>$tmpid);
|
||||
}
|
||||
|
||||
$userownerid=$this->userownerid;
|
||||
$userdoneid=$this->userdoneid;
|
||||
|
||||
// Be sure assigned user array is not empty.
|
||||
if (count($this->userassigned) == 0) $this->userassigned = array('id'=>$userownerid);
|
||||
|
||||
if (count($this->userassigned) == 0) $this->userassigned[] = array('id'=>$userownerid);
|
||||
|
||||
if (! $this->type_id || ! $this->type_code)
|
||||
{
|
||||
$key=empty($this->type_id)?$this->type_code:$this->type_id;
|
||||
|
||||
Reference in New Issue
Block a user