Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv19611/functions
Modified Files:
ical_parser.php
Log Message:
squelch warnings in event.php
Index: ical_parser.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v
retrieving revision 1.231
retrieving revision 1.232
diff -C2 -d -r1.231 -r1.232
*** ical_parser.php 26 Dec 2008 09:11:52 -0000 1.231
--- ical_parser.php 26 Dec 2008 17:07:52 -0000 1.232
***************
*** 234,242 ****
$field = $line[1];
$data = $line[2];
!
! $property = $field;
$prop_pos = strpos($property,';');
if ($prop_pos !== false) $property = substr($property,0,$prop_pos);
- $property = strtoupper($property);
switch ($property) {
--- 234,240 ----
$field = $line[1];
$data = $line[2];
! $property = strtoupper($field);
$prop_pos = strpos($property,';');
if ($prop_pos !== false) $property = substr($property,0,$prop_pos);
switch ($property) {
|