forked from extern/egroupware
Small change for return_sinle() to work using either global or app cats.
This commit is contained in:
parent
50d363f3cd
commit
4fbe90f188
@ -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())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user