diff options
| author | lsces <lester@lsces.co.uk> | 2025-09-04 18:52:39 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2025-09-04 18:52:39 +0100 |
| commit | a9460e3799e4eacb821401defdf296af37ca9c55 (patch) | |
| tree | 063ac012cb02767119766e4798c3cb776f789dc2 /modules | |
| parent | 269ef42123632ae76af23282870d016a938b4786 (diff) | |
| download | calendar-a9460e3799e4eacb821401defdf296af37ca9c55.tar.gz calendar-a9460e3799e4eacb821401defdf296af37ca9c55.tar.bz2 calendar-a9460e3799e4eacb821401defdf296af37ca9c55.zip | |
Need to repackage gmmktime(
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/mod_calendar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mod_calendar.php b/modules/mod_calendar.php index de80a5c..3cfca0a 100644 --- a/modules/mod_calendar.php +++ b/modules/mod_calendar.php @@ -24,7 +24,7 @@ if( !empty( $_REQUEST['todate'] ) ) { } elseif( !empty( $_SESSION['calendar']['focus_date'] ) ) { $_REQUEST["todate"] = $_SESSION['calendar']['focus_date']; } else { - $_SESSION['calendar']['focus_date'] = $cal->mDate->gmmktime( 0, 0, 0, $cal->mDate->date( 'm' ), $cal->mDate->date( 'd' ), $cal->mDate->date( 'Y' ) ); + $_SESSION['calendar']['focus_date'] = ''; // $cal->mDate->gmmktime( 0, 0, 0, $cal->mDate->date( 'm' ), $cal->mDate->date( 'd' ), $cal->mDate->date( 'Y' ) ); $_REQUEST["todate"] = $_SESSION['calendar']['focus_date']; } |
