From e5b8b36c7554ab255306d2ada048934aba008a58 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 9 Sep 2009 13:29:51 -0400 Subject: [PATCH] Properly fix passing the date parameter to the attendees page --- kronolith/attendees.php | 7 ++++--- kronolith/templates/edit/edit.inc | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/kronolith/attendees.php b/kronolith/attendees.php index 5113a46c5..02cacf9f1 100644 --- a/kronolith/attendees.php +++ b/kronolith/attendees.php @@ -158,9 +158,10 @@ case 'dismiss': if (!empty($url)) { $location = Horde::applicationUrl($url, true); } else { - $url = Horde_Util::addParameter($prefs->getValue('defaultview') . '.php', - 'month', Horde_Util::getFormData('month')); - $url = Horde_Util::addParameter($url, 'year', Horde_Util::getFormData('year')); + $date = Horde_Util::getFormData('date'); + $date = new Horde_Date($date); + $url = Horde_Util::addParameter($prefs->getValue('defaultview') . '.php', 'month', $date->month); + $url = Horde_Util::addParameter($url, 'year', $date->year); $location = Horde::applicationUrl($url, true); } diff --git a/kronolith/templates/edit/edit.inc b/kronolith/templates/edit/edit.inc index 5e701e61c..712f961ea 100644 --- a/kronolith/templates/edit/edit.inc +++ b/kronolith/templates/edit/edit.inc @@ -232,7 +232,7 @@ if ($event->alarm) { - ' ?> + ' ?> -- 2.11.0