From 297a82054409f23427241d918d3838b8247c992c Mon Sep 17 00:00:00 2001 From: skeeter Date: Sat, 29 Jun 2002 12:24:11 +0000 Subject: [PATCH] GNU Patch #373. --- phpgwapi/inc/class.categories.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.categories.inc.php b/phpgwapi/inc/class.categories.inc.php index 00f3f80630..72ab9af298 100644 --- a/phpgwapi/inc/class.categories.inc.php +++ b/phpgwapi/inc/class.categories.inc.php @@ -118,7 +118,7 @@ { if ($public) { - $public_cats = " OR cat_appname='phpgw'"; + $public_cats = " OR cat_appname='phpgw' OR (cat_access='public' AND cat_appname='".$this->app_name."')"; } $filter = $this->filter($type); @@ -206,7 +206,7 @@ { if ($public) { - $public_cats = " OR cat_appname='phpgw'"; + $public_cats = " OR cat_appname='phpgw' OR (cat_access='public' AND cat_appname='".$this->app_name."')"; } if (!$sort)