From 4fbe90f18812f0488b6eaa1c54d65b53683a6a36 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sun, 20 May 2001 21:12:44 +0000 Subject: [PATCH] Small change for return_sinle() to work using either global or app cats. --- phpgwapi/inc/class.categories.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.categories.inc.php b/phpgwapi/inc/class.categories.inc.php index c9ad888816..e07efc8171 100644 --- a/phpgwapi/inc/class.categories.inc.php +++ b/phpgwapi/inc/class.categories.inc.php @@ -179,8 +179,7 @@ function return_single($id = '') { - $this->db->query("select * from phpgw_categories where cat_id='$id' and " - . "cat_appname='" . $this->app_name . "'",__LINE__,__FILE__); + $this->db->query("select * from phpgw_categories where cat_id='$id'",__LINE__,__FILE__); if ($this->db->next_record()) {