Fix SQL for apps that did not send at least a tid in the filter.

This commit is contained in:
Miles Lott 2001-04-26 01:40:59 +00:00
parent 10d92835c1
commit 1d97b2b433

View File

@ -376,7 +376,7 @@
$fwhere = ' WHERE '; $fand = ' AND '; $fwhere = ' WHERE '; $fand = ' AND ';
} }
} else { } else {
$filtermethod = "WHERE (tid='n' OR tid is null)"; $filtermethod = " AND (tid='n' OR tid is null)";
} }
if (!$filtermethod) { if (!$filtermethod) {