summaryrefslogtreecommitdiff
path: root/FisheyeGallery.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-03-20 07:52:01 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-03-20 07:52:01 +0000
commit91e5774ec1a4ae6a32427a6dd9e41927cc9ba243 (patch)
treed96ac5f5a626c8d17dfb1d7c38400ac5229ec183 /FisheyeGallery.php
parentdf1adfd43dc00a1e440b517ffdd6b4af393f7d1a (diff)
downloadfisheye-91e5774ec1a4ae6a32427a6dd9e41927cc9ba243.tar.gz
fisheye-91e5774ec1a4ae6a32427a6dd9e41927cc9ba243.tar.bz2
fisheye-91e5774ec1a4ae6a32427a6dd9e41927cc9ba243.zip
set available sort_modes to avoid WSODs
Diffstat (limited to 'FisheyeGallery.php')
-rw-r--r--FisheyeGallery.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/FisheyeGallery.php b/FisheyeGallery.php
index 9da2e0a..a07e3de 100644
--- a/FisheyeGallery.php
+++ b/FisheyeGallery.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeGallery.php,v 1.52 2007/03/14 23:22:30 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeGallery.php,v 1.53 2007/03/20 07:52:01 squareing Exp $
* @package fisheye
*/
@@ -581,6 +581,8 @@ vd( $this->mErrors );
function getList( &$pListHash ) {
global $gBitUser,$gBitSystem, $gBitDbType, $commentsLib;
+ $pListHash['sort_modes'] = array( 'real_name', 'login', 'hits', 'title', 'created', 'last_modified' );
+
$this->prepGetList( $pListHash );
$bindVars = array();
$selectSql = $joinSql = $whereSql = $sortSql = '';