Fix: cyclic updates

This commit is contained in:
Laurent Destailleur 2013-05-25 17:28:31 +02:00
parent 8e1feba425
commit c36f8a0149

View File

@ -595,7 +595,7 @@ class Societe extends CommonObject
$lmember->email=$this->email;
$lmember->phone=$this->phone;
$result=$lmember->update($user,0,1,1); // Use nosync to 1 to avoid cyclic updates
$result=$lmember->update($user,0,1,1,1); // Use nosync to 1 to avoid cyclic updates
if ($result < 0)
{
$this->error=$lmember->error;