From 1d97b2b43336e9dd67f6b54a8c93402764c853c5 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 26 Apr 2001 01:40:59 +0000 Subject: [PATCH] Fix SQL for apps that did not send at least a tid in the filter. --- addressbook/inc/class.contacts_sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.contacts_sql.inc.php b/addressbook/inc/class.contacts_sql.inc.php index c1b2cc6fc0..57cf31c8f7 100644 --- a/addressbook/inc/class.contacts_sql.inc.php +++ b/addressbook/inc/class.contacts_sql.inc.php @@ -376,7 +376,7 @@ $fwhere = ' WHERE '; $fand = ' AND '; } } else { - $filtermethod = "WHERE (tid='n' OR tid is null)"; + $filtermethod = " AND (tid='n' OR tid is null)"; } if (!$filtermethod) {