]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix Undefined variable - bugfix for oc-69
authorGeorg Ehrke <dev@georgswebsite.de>
Sat, 21 Jan 2012 16:42:10 +0000 (17:42 +0100)
committerGeorg Ehrke <dev@georgswebsite.de>
Sat, 21 Jan 2012 16:42:52 +0000 (17:42 +0100)
apps/calendar/ajax/editeventform.php

index 95cae39c1c2cc877ce9379aeef48a2979f30bfcf..bac4cc517741192e9899cb2947d4e0a19db6da15 100644 (file)
@@ -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