mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
small fix to gard against an sql-error if an empty group get selected
This commit is contained in:
parent
07db5a1869
commit
f04c06956d
@ -391,7 +391,7 @@ class socalendar_ extends socalendar__
|
||||
$datetime = mktime(0,0,0,$startMonth,$startDay,$startYear) - $tz_offset;
|
||||
|
||||
$user_where = ' AND (phpgw_cal_user.cal_login in (';
|
||||
if($owner_id)
|
||||
if(is_array($owner_id) && count($owner_id))
|
||||
{
|
||||
$user_where .= implode(',',$owner_id);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user