diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php index 2d9d76d8b2b..3a66733adf5 100644 --- a/htdocs/societe/card.php +++ b/htdocs/societe/card.php @@ -245,7 +245,11 @@ if (empty($reshook)) // Call trigger $result=$object->call_trigger('COMPANY_MODIFY',$user); - if ($result < 0) $error++; + if ($result < 0) + { + setEventMessages($object->error, $object->errors, 'errors'); + $error++; + } // End call triggers }