From f16026b79c2a623a46ada1d61da439791008e57e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 25 May 2013 17:28:31 +0200 Subject: [PATCH] Fix: cyclic updates --- htdocs/societe/class/societe.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 3f7e00a4702..1172a795920 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -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;