diff --git a/htdocs/societe.class.php b/htdocs/societe.class.php index 5a637967f98..ef8f70f99ae 100644 --- a/htdocs/societe.class.php +++ b/htdocs/societe.class.php @@ -302,7 +302,7 @@ class Societe { } else { - print "Aucun enregistrement trouvé
$sql"; + dolibarr_syslog("Erreur Societe::Fetch aucune societe avec id=".$this->id); $result = -2; }