Fix type error happens when trying to save an event.

This commit is contained in:
Hadi Nategh 2021-10-18 15:41:22 +02:00
parent b5a669fe1d
commit fe9c7dd372

View File

@ -642,12 +642,12 @@ class calendar_ui
*
* @param int $event_id
* @param Api\DateTime $recurrence_date
* @param array $old_event
* @param array|bool|int|null $old_event
*
* @return boolean True if the event was updated, false if it could not be
* updated or was removed.
*/
public function update_client($event_id, Api\DateTime $recurrence_date = null, array $old_event = array())
public function update_client($event_id, Api\DateTime $recurrence_date = null, $old_event = array())
{
if(!$event_id)
{