From 8d253de6f6f337c67bba529ba9690a70550e083a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 27 Jun 2018 09:42:16 +0200 Subject: [PATCH] fix IDE warnings --- calendar/inc/class.calendar_uiforms.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 603e64a49e..ed16d0a94d 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -369,7 +369,7 @@ class calendar_uiforms extends calendar_ui 'offset' => $offset , 'time' => $content['start'] - $offset, 'all' => false, - 'owner' => $owner, + 'owner' => 0, 'id' => 1 )); } @@ -547,6 +547,7 @@ class calendar_uiforms extends calendar_ui if ($data['old_status'] != $status && !(!$data['old_status'] && $status == 'G')) { //echo "

$uid: status changed '$data[old_status]' --> '$status<'/p>\n"; + $quantity = $role = null; $new_status = calendar_so::combine_status($status, $quantity, $role); if ($this->bo->set_status($event['id'],$uid,$new_status,isset($content['edit_single']) ? $content['participants']['status_date'] : 0, false, true, $content['no_notifications'])) { @@ -1320,6 +1321,7 @@ class calendar_uiforms extends calendar_ui if (empty($status)) continue; if(!is_array($status)) { + $quantity = $role = null; calendar_so::split_status($status,$quantity,$role); $status = array( 'status' => $status,