aboutsummaryrefslogtreecommitdiffstats
path: root/functions/ical_parser.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-26 17:07:52 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-26 17:07:52 +0000
commit65c00ba1223eb97ff618fd661402a74c037c58cd (patch)
tree3f22f787cda6dead8286e5433caf63114df6f2da /functions/ical_parser.php
parenta02ca8fd76dfa6b0f280780f76fb9bfce5a9fd36 (diff)
downloadphpicalendar-65c00ba1223eb97ff618fd661402a74c037c58cd.tar.gz
phpicalendar-65c00ba1223eb97ff618fd661402a74c037c58cd.tar.bz2
phpicalendar-65c00ba1223eb97ff618fd661402a74c037c58cd.zip
squelch warnings in event.php
Diffstat (limited to 'functions/ical_parser.php')
-rw-r--r--functions/ical_parser.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php
index 23c31c1..febe27f 100644
--- a/functions/ical_parser.php
+++ b/functions/ical_parser.php
@@ -233,11 +233,9 @@ foreach ($cal_filelist as $cal_key=>$filename) {
if (ereg ("([^:]+):(.*)", $line, $line)){
$field = $line[1];
$data = $line[2];
-
- $property = $field;
+ $property = strtoupper($field);
$prop_pos = strpos($property,';');
if ($prop_pos !== false) $property = substr($property,0,$prop_pos);
- $property = strtoupper($property);
switch ($property) {

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