Skip to content
Snippets Groups Projects
Commit 176b52f3 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix No modify trigger must be called during creation

parent 3ea7a1fc
No related branches found
No related tags found
No related merge requests found
...@@ -218,7 +218,7 @@ class Contact extends CommonObject ...@@ -218,7 +218,7 @@ class Contact extends CommonObject
if (! $error) if (! $error)
{ {
$result=$this->update_perso($this->id, $user); $result=$this->update_perso($this->id, $user, 1); // TODO Remove function update_perso, should be same than update
if ($result < 0) if ($result < 0)
{ {
$error++; $error++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment