From c4654021e5169d985bfa745155fd1b479de06236 Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Tue, 27 Feb 2007 17:35:47 +0000 Subject: Stop module updating focus in session. Only the calendar filters it. --- modules/mod_calendar.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/mod_calendar.php b/modules/mod_calendar.php index 7b6b1e8..d5fc2d3 100644 --- a/modules/mod_calendar.php +++ b/modules/mod_calendar.php @@ -1,6 +1,6 @@ mDate->gmmktime( 0, 0, 0, $cal->mDate->date( 'm', $_REQUEST['todate'] ), $cal->mDate->date( 'd', $_REQUEST['todate'] ), $cal->mDate->date( 'Y', $_REQUEST['todate'] ) ); } else { $_SESSION['calendar']['focus_date'] = $_REQUEST['todate'] = $cal->mDate->gmmktime( 0, 0, 0, $cal->mDate->date2( 'm', $_REQUEST['todate'] ), $cal->mDate->date2( 'd', $_REQUEST['todate'] ), $cal->mDate->date2( 'Y', $_REQUEST['todate'] ) ); - } + } */ } elseif( !empty( $_SESSION['calendar']['focus_date'] ) ) { $_REQUEST["todate"] = $_SESSION['calendar']['focus_date']; } else { -- cgit v1.3