From bc17cfa57000ef923203cc9092d471599c5d5f53 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 30 Nov 2005 23:15:20 +0000 Subject: [PATCH] Fix: Echec de notification --- htdocs/notify.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/notify.class.php b/htdocs/notify.class.php index b5b7d47c996..86571347ad6 100644 --- a/htdocs/notify.class.php +++ b/htdocs/notify.class.php @@ -106,7 +106,7 @@ class Notify $sql = "INSERT INTO ".MAIN_DB_PREFIX."notify (daten, fk_action, fk_contact, objet_type, objet_id)"; $sql .= " VALUES (now(), $action ,$obj->idp , '$objet_type', $objet_id);"; - if (! $db->query($sql) ) + if (! $this->db->query($sql) ) { dolibarr_print_error($db); }