From e3ab6964c71c936477a8085a3811848c349b915d Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Tue, 23 Dec 2008 22:02:44 +0000 Subject: set defaults for undefs in template.php --- functions/template.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/template.php b/functions/template.php index 5338b44..64c9818 100644 --- a/functions/template.php +++ b/functions/template.php @@ -520,6 +520,8 @@ class Page { global $getdate, $cal, $master_array, $dateFormat_week_list, $current_view, $day_array, $timeFormat, $phpiCal_config, $daysofweek_lang; // Replaces the allday events $replace = ''; + $weekday_loop = ''; + $daydisplay = ''; if (is_array(@$master_array[$getdate]['-1'])) { preg_match("!<\!-- loop allday on -->(.*)<\!-- loop allday off -->!Uis", $this->page, $match1); $loop_ad = trim($match1[1]); -- cgit v1.2.3