diff options
author | jwangen <jwangen> | 2002-10-01 07:22:43 +0000 |
---|---|---|
committer | jwangen <jwangen> | 2002-10-01 07:22:43 +0000 |
commit | a814000ee630c3fef19d952500a8b94f332b78c2 (patch) | |
tree | 3d6d92ec0ee66c9b029fa3cc6e2c5a9fbf9458a3 /ical_parser.php | |
parent | 28794302cedc175099911a4a667191352cbaa93f (diff) | |
download | phpicalendar-a814000ee630c3fef19d952500a8b94f332b78c2.tar.gz phpicalendar-a814000ee630c3fef19d952500a8b94f332b78c2.tar.bz2 phpicalendar-a814000ee630c3fef19d952500a8b94f332b78c2.zip |
bug fix, $description not being reset to "" each time around the loop
causing some events to inherit the previous event's descriptiony
Diffstat (limited to 'ical_parser.php')
-rw-r--r-- | ical_parser.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ical_parser.php b/ical_parser.php index aa71e10..cb1c2d4 100644 --- a/ical_parser.php +++ b/ical_parser.php @@ -78,6 +78,7 @@ foreach($contents as $line) { $bymonthday = ""; $byday = ""; $count = 1000000; + $description = ""; } elseif (strstr($line, "END:VEVENT")) { // Clean out \n's and other slashes |