From e3693349bad6ade769bceb8f4367cf4cd60f075c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 26 Feb 2006 15:35:02 +0000 Subject: [PATCH] Fix: Plantage insertion action commerciale --- htdocs/actioncomm.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/actioncomm.class.php b/htdocs/actioncomm.class.php index 5af1602c408..3a802fbb684 100644 --- a/htdocs/actioncomm.class.php +++ b/htdocs/actioncomm.class.php @@ -89,7 +89,7 @@ class ActionComm if ($this->percent == 100) $sql.= "datea,"; $sql.= "fk_action,fk_soc,note,fk_contact,fk_user_author,fk_user_action,label,percent,priority,"; $sql.= "fk_facture,propalrowid)"; - $sql.= " VALUES (now,"; + $sql.= " VALUES (now(),"; $sql.= "'".$this->db->idate($this->date)."',"; if ($this->percent == 100) $sql.= "'".$this->db->idate($this->date)."',"; $sql.= "'".$this->type_id."', '".$this->societe->id."' ,'".addslashes($this->note)."',";