Fix: Echec de notification

This commit is contained in:
Laurent Destailleur 2005-11-30 23:15:20 +00:00
parent a55236a2d8
commit bc17cfa570

View File

@ -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);
}