From ef0964b3d826805a16f75928da27e143f120aeea Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 5 Nov 2021 11:22:49 +0100 Subject: [PATCH] fix PHP 8.0 error: calendar_boupdate::update(): Argument #6 ($messages) cannot be passed by reference --- calendar/inc/class.calendar_uiforms.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index bedef318c8..0a6cadda87 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -984,7 +984,8 @@ class calendar_uiforms extends calendar_ui $exception['recurrence'] += $offset; $exception['reference'] = $event['id']; $exception['uid'] = $event['uid']; - $this->bo->update($exception, true, true, true, true, $msg=null, $content['no_notifications']); + $msg = null; + $this->bo->update($exception, true, true, true, true, $msg, $content['no_notifications']); } } }