mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
set a default in paramslist for shift_alarm parm 3 (timestamp) to avoid php-warning and comply to the function description
This commit is contained in:
parent
30158d1e8d
commit
7ab832fe9f
@ -1696,7 +1696,7 @@ ORDER BY cal_user_type, cal_usre_id
|
||||
* are dealing with, default is now.
|
||||
* @return boolean true if alarm could be shifted, false if not
|
||||
*/
|
||||
public static function shift_alarm(array $_event, array &$alarm, $timestamp)
|
||||
public static function shift_alarm(array $_event, array &$alarm, $timestamp=null)
|
||||
{
|
||||
if ($_event['recur_type'] == MCAL_RECUR_NONE)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user