From 1be15ba753f6d8619eef45c6296e98cb273f81b7 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 25 Oct 2007 19:05:15 +0000 Subject: [PATCH] Fix: une virgule de trop --- htdocs/comm/action/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index 677887959cd..a4d8ffbe462 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -70,7 +70,7 @@ $sql.= " u.login, u.rowid as userid,"; $sql.= " sp.name, sp.firstname"; if (!$user->rights->commercial->client->voir && !$socid) $sql .= ", sc.fk_soc, sc.fk_user"; $sql.= " FROM ".MAIN_DB_PREFIX."c_actioncomm as c, ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."user as u,"; -if (!$user->rights->commercial->client->voir && !$socid) $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc,"; +if (!$user->rights->commercial->client->voir && !$socid) $sql .= " ".MAIN_DB_PREFIX."societe_commerciaux as sc,"; $sql.= " ".MAIN_DB_PREFIX."actioncomm as a"; $sql.= " LEFT JOIN ".MAIN_DB_PREFIX."socpeople sp ON a.fk_contact = sp.rowid"; $sql.= " WHERE a.fk_soc = s.rowid AND c.id = a.fk_action AND a.fk_user_author = u.rowid";