diff --git a/phpgwapi/inc/class.categories.inc.php b/phpgwapi/inc/class.categories.inc.php index 49342045fb..22e6d629ed 100644 --- a/phpgwapi/inc/class.categories.inc.php +++ b/phpgwapi/inc/class.categories.inc.php @@ -148,7 +148,7 @@ $global_cats = " OR cat_appname='phpgw'"; } - $filter = $this->filter($type); + $filter = ' AND ' . $this->filter($type); if (!$sort) $sort = 'ASC';