From 84ed5fb6f66e556e875d446c3766bece72d97f1c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 30 Jan 2004 20:47:28 +0000 Subject: [PATCH] =?UTF-8?q?Prefix=20en=20dur=20"llx=5F"=20remplac=E9=20par?= =?UTF-8?q?=20constante=20"MAIN=5FDB=5FPREFIX".?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/contact.php b/htdocs/contact.php index 5c7f7f62570..1db0282cdde 100644 --- a/htdocs/contact.php +++ b/htdocs/contact.php @@ -57,7 +57,7 @@ $offset = $limit * $page ; $sql = "SELECT s.idp, s.nom, st.libelle as stcomm, p.idp as cidp, p.name, p.firstname, p.email, p.phone "; -$sql .= " FROM llx_societe as s, llx_socpeople as p, c_stcomm as st"; +$sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."socpeople as p, ".MAIN_DB_PREFIX."c_stcomm as st"; $sql .= " WHERE s.fk_stcomm = st.id AND s.idp = p.fk_soc"; if (strlen($stcomm)) // statut commercial