forked from extern/egroupware
fix PHP Warning (Invalid argument supplied for foreach() in calendar/inc/class.calendar_boupdate.inc.php on line 1915), if moved event has no alarms
This commit is contained in:
parent
fbba0f2e59
commit
d43be3afc2
@ -2332,7 +2332,7 @@ ORDER BY cal_user_type, cal_usre_id
|
||||
}
|
||||
}
|
||||
//error_log(__METHOD__."(".array2string($cal_id).") returning ".array2string($alarms));
|
||||
return $alarms;
|
||||
return $alarms ? $alarms : array();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user