diff options
| author | lsces <lester@lsces.co.uk> | 2012-09-28 22:00:55 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2012-09-28 22:00:55 +0100 |
| commit | 462a1de598157d73191208d125c650b13a07156e (patch) | |
| tree | 413e734e7fd05d860288d2e104fc1e90a5a3dde7 | |
| parent | 9261b86948a613fcf0da2c78f4af072bb5a3f17b (diff) | |
| download | boards-462a1de598157d73191208d125c650b13a07156e.tar.gz boards-462a1de598157d73191208d125c650b13a07156e.tar.bz2 boards-462a1de598157d73191208d125c650b13a07156e.zip | |
Missed static function - e_strict compliance
| -rw-r--r-- | BitBoard.php | 2 | ||||
| -rw-r--r-- | BitBoardPost.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/BitBoard.php b/BitBoard.php index 3213e65..8fa7d69 100644 --- a/BitBoard.php +++ b/BitBoard.php @@ -440,7 +440,7 @@ class BitBoard extends LibertyMime { return $ret; } - function prepGetList( &$pParamHash ) { + public static function prepGetList( &$pParamHash ) { if( empty( $pParamHash['sort_mode'] ) ) { // default sort_mode for boards is alphabetical $pParamHash['sort_mode'] = 'title_asc'; diff --git a/BitBoardPost.php b/BitBoardPost.php index fa5ca40..ff2cd28 100644 --- a/BitBoardPost.php +++ b/BitBoardPost.php @@ -244,7 +244,7 @@ class BitBoardPost extends LibertyComment { function getList( &$pListHash ) { global $gBitUser, $gBitSystem; - $this->prepGetList( $pListHash ); + LibertyContent::prepGetList( $pListHash ); $joinSql = $selectSql = $whereSql = ''; |
