fix PHP Warning: Use of undefined constant cat_id - assumed 'cat_id'

This commit is contained in:
Ralf Becker 2019-03-29 13:38:51 +01:00
parent 1f861f7650
commit 767ff5d900

View File

@ -662,7 +662,7 @@ class Sql extends Api\Storage
}
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).')';
if(!empty($not))