From 78c5c2e7d574b0d97eea86e2c7a40d65dc58583e Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Sat, 21 Jan 2012 17:42:10 +0100 Subject: [PATCH] fix Undefined variable - bugfix for oc-69 --- apps/calendar/ajax/editeventform.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.5