and another patch

Jan Schneider janmailing@gmx.de
Sun, 24 Jun 2001 01:04:48 +0200


---------------------- multipart/mixed attachment
This patch of day.php makes sure that form data is read correctly and that you 
actually get to today if you click on day not to January 1st of 1970 ;-)

Jan.

::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::
---------------------- multipart/mixed attachment
Index: day.php
===================================================================
RCS file: /cvs/horde/kronolith/day.php,v
retrieving revision 1.27
diff -u -r1.27 day.php
--- day.php	2001/05/23 16:49:23	1.27
+++ day.php	2001/06/23 23:01:26
@@ -12,9 +12,9 @@
 require_once KRONOLITH_BASE . '/lib/base.php';
 require_once KRONOLITH_BASE . '/lib/DayView.php';
 
-$month = (isset($HTTP_GET_VARS['month'])) ? $HTTP_GET_VARS['month'] : '';
-$day = (isset($HTTP_GET_VARS['day'])) ? $HTTP_GET_VARS['day'] : '';
-$year = (isset($HTTP_GET_VARS['year'])) ? $HTTP_GET_VARS['year'] : '';
+$month = Horde::getFormData('month');
+$day = Horde::getFormData('day');
+$year = Horde::getFormData('year');
 $dayOb = new Kronolith_DayView($month, $day, $year);
 $title = $dayOb->Day->getTime('l F j, Y');
 

---------------------- multipart/mixed attachment--