aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-05-13 18:23:38 +0000
committerChad Little <clittle@users.sourceforge.net>2004-05-13 18:23:38 +0000
commit8eaaff004d688ade47bcc421415c80dbe9883b26 (patch)
tree2b1cbe293eefbb07a93f2c4266d12f5fe99c3dff /functions
parent22a53b54c1d1f14aea526cb51e0668ce03e260da (diff)
downloadphpicalendar-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.php2
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

© 2014-2024 Faster IT GmbH | imprint | privacy policy