Fix invalid parameter error when changing the status of a recurring event exception

This commit is contained in:
nathangray 2016-09-05 10:18:14 -06:00
parent 57f994e038
commit 24d5af7b7a

View File

@ -507,7 +507,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)