From f9797b82b48bee7e8174cd834d50713c341c6e02 Mon Sep 17 00:00:00 2001 From: Jon Bendtsen Date: Mon, 18 Mar 2024 22:25:29 +0100 Subject: [PATCH] the surrounding lines contained an ' as ' in the SQL statement, works both with and without, but this brings consistency --- htdocs/societe/notify/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/notify/card.php b/htdocs/societe/notify/card.php index 0e0031e6f9c..69d8ce43b50 100644 --- a/htdocs/societe/notify/card.php +++ b/htdocs/societe/notify/card.php @@ -233,7 +233,7 @@ if ($result > 0) { $sql .= " c.rowid as contactid, c.lastname, c.firstname, c.email"; $sql .= " FROM ".MAIN_DB_PREFIX."c_action_trigger as a,"; $sql .= " ".MAIN_DB_PREFIX."notify_def as n,"; - $sql .= " ".MAIN_DB_PREFIX."socpeople c"; + $sql .= " ".MAIN_DB_PREFIX."socpeople as c"; $sql .= " WHERE a.rowid = n.fk_action"; $sql .= " AND c.rowid = n.fk_contact"; $sql .= " AND c.fk_soc = ".((int) $object->id);