fix for bug reported by Oscar on the list: category query of categories::return_array ended with AND

This commit is contained in:
Ralf Becker 2005-11-09 06:53:51 +00:00
parent 9680c1e76b
commit bd325a811f

View File

@ -148,7 +148,7 @@
$global_cats = " OR cat_appname='phpgw'";
}
$filter = ' AND ' . $this->filter($type);
if (($filter = $this->filter($type))) $filter = ' AND '.$filter;
if (!$sort) $sort = 'ASC';