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
8d59f4ee40
commit
b6c29a054b
@ -2328,7 +2328,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