diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-05-13 18:23:38 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-05-13 18:23:38 +0000 |
commit | 8eaaff004d688ade47bcc421415c80dbe9883b26 (patch) | |
tree | 2b1cbe293eefbb07a93f2c4266d12f5fe99c3dff /functions | |
parent | 22a53b54c1d1f14aea526cb51e0668ce03e260da (diff) | |
download | phpicalendar-8eaaff004d688ade47bcc421415c80dbe9883b26.tar.gz phpicalendar-8eaaff004d688ade47bcc421415c80dbe9883b26.tar.bz2 phpicalendar-8eaaff004d688ade47bcc421415c80dbe9883b26.zip |
Fix for [ 923632 ] ics file generates errors
Diffstat (limited to 'functions')
-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 2ad37f7..b96fc46 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -479,7 +479,7 @@ foreach ($cal_filelist as $filename) { $recur_data[] = $next_date_time; } } - } else { + } elseif (is_array($byday)) { foreach($byday as $day) { ereg ('([-\+]{0,1})?([0-9]{1})?([A-Z]{2})', $day, $byday_arr); //Added for 2.0 when no modifier is set |