diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-23 22:02:44 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-23 22:02:44 +0000 |
commit | e3ab6964c71c936477a8085a3811848c349b915d (patch) | |
tree | 95871cfb7e07b00490268615c4409ec5dc696f90 /functions | |
parent | 1557337231d8ce2a79f96264191e3bd574d90771 (diff) | |
download | phpicalendar-e3ab6964c71c936477a8085a3811848c349b915d.tar.gz phpicalendar-e3ab6964c71c936477a8085a3811848c349b915d.tar.bz2 phpicalendar-e3ab6964c71c936477a8085a3811848c349b915d.zip |
set defaults for undefs in template.php
Diffstat (limited to 'functions')
-rw-r--r-- | functions/template.php | 2 |
1 files changed, 2 insertions, 0 deletions
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]); |