diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index b0c54f00c8f..2a9e159558c 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -197,7 +197,7 @@ if (empty($reshook)) $ret = $extrafields->setOptionalsFromPost($extralabels,$object); if ($ret < 0) { - $error++; // This increment output "1" as text error + $error++; $action = ($action=='add'?'create':'edit'); }