fix typo and IDE warnings

This commit is contained in:
Ralf Becker 2016-10-19 15:24:50 +02:00
parent 391f3ce00a
commit 1903533564

View File

@ -519,7 +519,7 @@ 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
$d = new Api\DateTime($contet['edit_single'], Api\DateTime::$user_timezone);
$d = new Api\DateTime($content['edit_single'], Api\DateTime::$user_timezone);
$client_updated = $this->update_client($event['id'], $d);
// refreshing the calendar-view with the changed participant-status
@ -2962,7 +2962,6 @@ class calendar_uiforms extends calendar_ui
{
list($eventId, $date) = explode(':', $_eventId,2);
$old_event=$event=$this->bo->read($eventId);
$event = $this->bo->read($eventId);
if($date)
{
@ -3012,6 +3011,7 @@ class calendar_uiforms extends calendar_ui
{
$event['participants'][$participant] = 'U';
}
$message = null;
$conflicts=$this->bo->update($event,false, true, false, true, $message);
$response = Api\Json\Response::get();