Small change for return_sinle() to work using either global or app cats.

This commit is contained in:
skeeter 2001-05-20 21:12:44 +00:00
parent 50d363f3cd
commit 4fbe90f188

View File

@ -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())
{