From 4277087f76ed431ea90ccb7b554ced25143141eb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 13 May 2012 14:27:51 +0200 Subject: [PATCH] Fix: Missing log when error --- htdocs/contact/class/contact.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/contact/class/contact.class.php b/htdocs/contact/class/contact.class.php index d35526b1f13..e9b7067853b 100644 --- a/htdocs/contact/class/contact.class.php +++ b/htdocs/contact/class/contact.class.php @@ -744,6 +744,7 @@ class Contact extends CommonObject else { $this->db->rollback(); + dol_syslog("Error ".$this->error,LOG_ERR); return -1; } }