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 committed by Ralf Becker
parent ff4d9e0a8c
commit 446a33c82d

View File

@ -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)