mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fix PHP Warning: Use of undefined constant cat_id - assumed 'cat_id'
This commit is contained in:
parent
1f861f7650
commit
767ff5d900
@ -662,7 +662,7 @@ class Sql extends Api\Storage
|
|||||||
}
|
}
|
||||||
foreach($GLOBALS['egw']->categories->return_all_children($cat_id) as $cat)
|
foreach($GLOBALS['egw']->categories->return_all_children($cat_id) as $cat)
|
||||||
{
|
{
|
||||||
$cat_filter[] = $this->db->concat("','",cat_id,"','")." $not LIKE '%,$cat,%'";
|
$cat_filter[] = $this->db->concat("','", 'cat_id', "','")." $not LIKE '%,$cat,%'";
|
||||||
}
|
}
|
||||||
$cfilter = '('.implode(' OR ',$cat_filter).')';
|
$cfilter = '('.implode(' OR ',$cat_filter).')';
|
||||||
if(!empty($not))
|
if(!empty($not))
|
||||||
|
Loading…
Reference in New Issue
Block a user