Fixed: Backward compatibility
This commit is contained in:
parent
1681e3b03d
commit
b53b8d2e45
@ -138,6 +138,13 @@ class ActionComm extends CommonObject
|
|||||||
if ($this->elementtype=='commande') $this->elementtype='order';
|
if ($this->elementtype=='commande') $this->elementtype='order';
|
||||||
if ($this->elementtype=='contrat') $this->elementtype='contract';
|
if ($this->elementtype=='contrat') $this->elementtype='contract';
|
||||||
|
|
||||||
|
if (! is_array($this->userassigned)) // For backward compatibility
|
||||||
|
{
|
||||||
|
$tmpid=$this->userassigned;
|
||||||
|
$this->userassigned=array();
|
||||||
|
$this->userassigned[$tmpid]=array('id'=>$tmpid);
|
||||||
|
}
|
||||||
|
|
||||||
$userownerid=$this->userownerid;
|
$userownerid=$this->userownerid;
|
||||||
$userdoneid=$this->userdoneid;
|
$userdoneid=$this->userdoneid;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user