aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-11-12 22:27:55 +0000
committerChad Little <clittle@users.sourceforge.net>2002-11-12 22:27:55 +0000
commit98c430276226e8a145946d7c98b52fc90d3e7038 (patch)
tree7d58e7d36560881a50510c59296b7ea2151159a1 /functions
parent4d543c0ca9ba80cb616afd782fdf7dbfe73770d0 (diff)
downloadphpicalendar-98c430276226e8a145946d7c98b52fc90d3e7038.tar.gz
phpicalendar-98c430276226e8a145946d7c98b52fc90d3e7038.tar.bz2
phpicalendar-98c430276226e8a145946d7c98b52fc90d3e7038.zip
*** empty log message ***
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 4521988..bed4d02 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])) {
- ksort($master_array[$k]);
+ krsort($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