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 bf20b21a6a
commit ef0964b3d8

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