fix undefined indices - bugfix for oc-99

This commit is contained in:
Georg Ehrke 2012-01-23 15:05:53 +01:00
parent 66f8a0e1a3
commit b8e01939e9

View file

@ -229,18 +229,20 @@ $tmpl->assign('endtime', $endtime);
$tmpl->assign('description', $description); $tmpl->assign('description', $description);
$tmpl->assign('repeat', $repeat['repeat']); $tmpl->assign('repeat', $repeat['repeat']);
$tmpl->assign('repeat_month', $repeat['month']); if($repeat['repeat'] != 'doesnotrepeat'){
$tmpl->assign('repeat_weekdays', $repeat['weekdays']); $tmpl->assign('repeat_month', $repeat['month']);
$tmpl->assign('repeat_interval', $repeat['interval']); $tmpl->assign('repeat_weekdays', $repeat['weekdays']);
$tmpl->assign('repeat_end', $repeat['end']); $tmpl->assign('repeat_interval', $repeat['interval']);
$tmpl->assign('repeat_count', $repeat['count']); $tmpl->assign('repeat_end', $repeat['end']);
$tmpl->assign('repeat_weekofmonth', $repeat['weekofmonth']); $tmpl->assign('repeat_count', $repeat['count']);
$tmpl->assign('repeat_date', $repeat['date']); $tmpl->assign('repeat_weekofmonth', $repeat['weekofmonth']);
$tmpl->assign('repeat_year', $repeat['year']); $tmpl->assign('repeat_date', $repeat['date']);
$tmpl->assign('repeat_byyearday', $repeat['byyearday']); $tmpl->assign('repeat_year', $repeat['year']);
$tmpl->assign('repeat_bymonthday', $repeat['bymonthday']); $tmpl->assign('repeat_byyearday', $repeat['byyearday']);
$tmpl->assign('repeat_bymonth', $repeat['bymonth']); $tmpl->assign('repeat_bymonthday', $repeat['bymonthday']);
$tmpl->assign('repeat_byweekno', $repeat['byweekno']); $tmpl->assign('repeat_bymonth', $repeat['bymonth']);
$tmpl->assign('repeat_byweekno', $repeat['byweekno']);
}
$tmpl->printpage(); $tmpl->printpage();
?> ?>