Changeset 1807
- Timestamp:
- 12/10/09 16:58:25 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/calendar/inc/class.socalendar.inc.php
r583 r1807 91 91 } 92 92 $cats = $GLOBALS['phpgw']->categories->return_all_children($this->cat_id); 93 $extra .= "AND (phpgw_cal.category".(count($cats) > 1 ? ' IN ('.implode(',',$cats).')': '=\''.(int)$this->cat_id."'");93 $extra .= "AND (phpgw_cal.category".(count($cats) > 1 ? " IN ('".implode("','",$cats)."')" : '=\''.(int)$this->cat_id."'"); 94 94 foreach($cats as $cat) 95 95 {
Note: See TracChangeset
for help on using the changeset viewer.