Changeset 1729
- Timestamp:
- 12/01/09 18:07:48 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.socalendar.inc.php
r583 r1729 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.