fix PHP 8.0 error: calendar_boupdate::update(): Argument #6 ($messages) cannot be passed by reference

This commit is contained in:
Ralf Becker 2021-11-05 11:22:49 +01:00
parent b3116e09e5
commit 7ac13da96f

View File

@ -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']);
}
}
}