From 4ec912ca0ff14694f7cc8ae7d6a01d084847a5f9 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Mon, 10 Apr 2006 04:17:19 +0000 Subject: fix wkst bug when not set --- functions/ical_parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions') diff --git a/functions/ical_parser.php b/functions/ical_parser.php index 689a64c..d0f6efb 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -556,7 +556,7 @@ foreach ($cal_filelist as $cal_key=>$filename) { $count_to = 0; // start at the $start_range and go until we hit the end of our range. - if(!isset($wkst)) $wkst='Su'; + if(!isset($wkst)) $wkst='SU'; $wkst3char = two2threeCharDays($wkst); while (($next_range_time >= $start_range_time_tmp) && ($next_range_time <= $end_range_time_tmp) && ($count_to != $count)) { -- cgit v1.2.3