diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-05-30 00:45:20 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-05-30 00:45:20 +0000 |
commit | 544791f934e723c7393023a576f10ed6a21958ae (patch) | |
tree | 422b12af6e318dde1625edf08e180c1caa7c03d2 /functions/ical_parser.php | |
parent | 692c1adcc5bd52b8dc501ab2bffadf947d9b452b (diff) | |
download | phpicalendar-544791f934e723c7393023a576f10ed6a21958ae.tar.gz phpicalendar-544791f934e723c7393023a576f10ed6a21958ae.tar.bz2 phpicalendar-544791f934e723c7393023a576f10ed6a21958ae.zip |
Cleaned up look and feel of admin pages, corrected some error_reporting.
Diffstat (limited to 'functions/ical_parser.php')
-rw-r--r-- | functions/ical_parser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php index 05c9909..34dbebc 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -458,7 +458,7 @@ if ($parse_file) { if (!isset($bymonth)) $bymonth[] = date('m', $start_date_time); foreach($bymonth as $month) { $year = date('Y', $next_range_time); - if (is_array($byday)) { + if ((isset($byday)) && (is_array($byday))) { $checkdate_time = mktime(0,0,0,$month,1,$year); foreach($byday as $day) { ereg ('([-\+]{0,1})([0-9]{1})([A-Z]{2})', $day, $byday_arr); |