From d65f370a94bc097b28cc1bbdf38aa15b9be4be10 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 30 Jun 2003 16:25:51 +0000 Subject: [PATCH] changement nom de table llx_notify --- htdocs/societe/notify/fiche.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/societe/notify/fiche.php b/htdocs/societe/notify/fiche.php index b952fb03936..060ceb00058 100644 --- a/htdocs/societe/notify/fiche.php +++ b/htdocs/societe/notify/fiche.php @@ -33,11 +33,11 @@ $db = new Db(); if ($HTTP_POST_VARS["action"] == 'add') { - $sql = "DELETE FROM llx_notify"; + $sql = "DELETE FROM llx_notify_def"; $sql .= " WHERE fk_soc=".$socid." AND fk_contact=".$HTTP_POST_VARS["contactid"]." AND fk_action=".$HTTP_POST_VARS["actionid"]; if ($db->query($sql)) { - $sql = "INSERT INTO llx_notify (datec,fk_soc, fk_contact, fk_action)"; + $sql = "INSERT INTO llx_notify_def (datec,fk_soc, fk_contact, fk_action)"; $sql .= " VALUES (now(),$socid,".$HTTP_POST_VARS["contactid"].",".$HTTP_POST_VARS["actionid"].")"; if ($db->query($sql)) @@ -111,7 +111,7 @@ if ( $soc->fetch($socid) ) print ' '; print ''; - $sql = "SELECT c.name, c.firstname, a.titre,n.rowid FROM llx_socpeople as c, llx_action_def as a, llx_notify as n"; + $sql = "SELECT c.name, c.firstname, a.titre,n.rowid FROM llx_socpeople as c, llx_action_def as a, llx_notify_def as n"; $sql .= " WHERE n.fk_contact = c.idp AND a.rowid = n.fk_action AND n.fk_soc = ".$soc->id; if ($db->query($sql))