Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9391/functions
Modified Files:
ical_parser.php
Log Message:
Fix for [ 923632 ] ics file generates errors
Index: ical_parser.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v
retrieving revision 1.156
retrieving revision 1.157
diff -C2 -d -r1.156 -r1.157
*** ical_parser.php 11 May 2004 04:45:39 -0000 1.156
--- ical_parser.php 13 May 2004 18:23:38 -0000 1.157
***************
*** 480,484 ****
}
}
! } else {
foreach($byday as $day) {
ereg ('([-\+]{0,1})?([0-9]{1})?([A-Z]{2})', $day, $byday_arr);
--- 480,484 ----
}
}
! } elseif (is_array($byday)) {
foreach($byday as $day) {
ereg ('([-\+]{0,1})?([0-9]{1})?([A-Z]{2})', $day, $byday_arr);
|