From: Georg Ehrke Date: Sat, 21 Jan 2012 16:42:10 +0000 (+0100) Subject: fix Undefined variable - bugfix for oc-69 X-Git-Tag: v3.0~19^2~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=78c5c2e7d574b0d97eea86e2c7a40d65dc58583e;p=nextcloud-server.git fix Undefined variable - bugfix for oc-69 --- diff --git a/apps/calendar/ajax/editeventform.php b/apps/calendar/ajax/editeventform.php index 95cae39c1c2..bac4cc51774 100644 --- a/apps/calendar/ajax/editeventform.php +++ b/apps/calendar/ajax/editeventform.php @@ -184,6 +184,8 @@ if($data['repeating'] == 1){ } $repeat['weekdays'] = $repeat_weekdays_; } +}else{ + $repeat['repeat'] = 'doesnotrepeat'; } $calendar_options = OC_Calendar_Calendar::allCalendars(OC_User::getUser()); @@ -241,5 +243,4 @@ $tmpl->assign('repeat_bymonth', $repeat['bymonth']); $tmpl->assign('repeat_byweekno', $repeat['byweekno']); $tmpl->printpage(); -?> - +?> \ No newline at end of file