diff options
| author | lsces <lester@lsces.co.uk> | 2012-09-28 22:01:44 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2012-09-28 22:01:44 +0100 |
| commit | ac482233f55615132ad10857afbf85552514b02d (patch) | |
| tree | 524747f6308429fd08ff8acda92a03007c3dc4f1 | |
| parent | a43746e9b18f0cd8a814d2c5997c590e26b5aa08 (diff) | |
| download | calendar-PRE_BOOTSTRAP.tar.gz calendar-PRE_BOOTSTRAP.tar.bz2 calendar-PRE_BOOTSTRAP.zip | |
Missed static function - e_strict compliancePRE_BOOTSTRAP
| -rw-r--r-- | Calendar.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Calendar.php b/Calendar.php index 1cfe1f6..7bcbd76 100644 --- a/Calendar.php +++ b/Calendar.php @@ -108,7 +108,7 @@ class Calendar extends LibertyContent { /** * prepare ListHash to ensure errorfree usage **/ - function prepGetList( &$pListHash ) { + public static function prepGetList( &$pListHash ) { $pListHash['include_data'] = TRUE; if( !empty( $pListHash['focus_date'] ) ) { $calDates = $this->doRangeCalculations( $pListHash ); @@ -177,7 +177,7 @@ class Calendar extends LibertyContent { **/ function buildCalendarNavigation( $pDateHash ) { global $gBitUser, $gBitSystem; - $today = $this->mDate->getdate( gmmktime(), false, true ); + $today = $this->mDate->getdate( time(), false, true ); $focus = $this->mDate->getdate( $pDateHash['focus_date'], false, true ); $ret = array( |
