aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-11-15 03:51:29 +0000
committerChad Little <clittle@users.sourceforge.net>2002-11-15 03:51:29 +0000
commitcd501de7c511b7bb0c840fd9a38dfbb95a87ff73 (patch)
tree62609dce72832f26086923ff7b44b87db0dfefed /functions
parent98c430276226e8a145946d7c98b52fc90d3e7038 (diff)
downloadphpicalendar-cd501de7c511b7bb0c840fd9a38dfbb95a87ff73.tar.gz
phpicalendar-cd501de7c511b7bb0c840fd9a38dfbb95a87ff73.tar.bz2
phpicalendar-cd501de7c511b7bb0c840fd9a38dfbb95a87ff73.zip
More prefs work.
Diffstat (limited to 'functions')
-rw-r--r--functions/ical_parser.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php
index bed4d02..4521988 100644
--- a/functions/ical_parser.php
+++ b/functions/ical_parser.php
@@ -691,7 +691,7 @@ if ($parse_file) {
// sort the sub (day) arrays so the times are in order
foreach (array_keys($master_array) as $k) {
if (isset($master_array[$k]) && is_array($master_array[$k])) {
- krsort($master_array[$k]);
+ ksort($master_array[$k]);
reset($master_array[$k]);
}
}
@@ -709,12 +709,12 @@ if ($parse_file) {
//If you want to see the values in the arrays, uncomment below.
-print '<pre>';
-print_r($master_array);
+//print '<pre>';
+//print_r($master_array);
//print_r($overlap_array);
//print_r($day_array);
//print_r($rrule);
-print '</pre>';
+//print '</pre>';
?>

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