From 446a33c82d8e81ed7698e65cf31451ed4cd3bed4 Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 5 Sep 2016 10:18:14 -0600 Subject: [PATCH] Fix invalid parameter error when changing the status of a recurring event exception --- 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 d5c3f113ae..1c31a8909d 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -504,7 +504,8 @@ class calendar_uiforms extends calendar_ui if ($this->bo->set_status($event['id'],$uid,$new_status,isset($content['edit_single']) ? $content['participants']['status_date'] : 0, false, true, $content['no_notifications'])) { // Update main window - $client_updated = $this->update_client($event['id'], $content['edit_single']); + $d = new Api\DateTime($contet['edit_single'], Api\DateTime::$user_timezone); + $client_updated = $this->update_client($event['id'], $d); // refreshing the calendar-view with the changed participant-status if($event['recur_type'] != MCAL_RECUR_NONE)