Fix for ceb when adding events.

This commit is contained in:
skeeter 2001-10-31 01:36:43 +00:00
parent 406baf80e4
commit 6673d242a8

View File

@ -828,7 +828,7 @@
} }
} }
if($id) if(count($id) >= 1)
{ {
@reset($id); @reset($id);
$sql .= ' AND phpgw_cal.cal_id NOT IN ('.(count($id)==1?$id[0]:implode(',',$id)).')'; $sql .= ' AND phpgw_cal.cal_id NOT IN ('.(count($id)==1?$id[0]:implode(',',$id)).')';