summaryrefslogtreecommitdiff
path: root/FisheyeGallery.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2007-03-14 23:22:30 +0000
committerChristian Fowler <spider@viovio.com>2007-03-14 23:22:30 +0000
commit7f97f94040d7c1b6bab7b7465417a91cc85c8b4e (patch)
tree15dcdb7a4abd21a441704a4434d6592518968c7c /FisheyeGallery.php
parentc02f999d03fac647b68aa610910471e34077e90f (diff)
downloadfisheye-7f97f94040d7c1b6bab7b7465417a91cc85c8b4e.tar.gz
fisheye-7f97f94040d7c1b6bab7b7465417a91cc85c8b4e.tar.bz2
fisheye-7f97f94040d7c1b6bab7b7465417a91cc85c8b4e.zip
initialize whereSql
Diffstat (limited to 'FisheyeGallery.php')
-rw-r--r--FisheyeGallery.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/FisheyeGallery.php b/FisheyeGallery.php
index 33f1fb0..9da2e0a 100644
--- a/FisheyeGallery.php
+++ b/FisheyeGallery.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeGallery.php,v 1.51 2007/03/09 20:42:25 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeGallery.php,v 1.52 2007/03/14 23:22:30 spiderr Exp $
* @package fisheye
*/
@@ -357,6 +357,7 @@ class FisheyeGallery extends FisheyeBase {
$pThumbnailContentId = $this->mInfo['preview_content_id'];
} else {
if( $this->mDb->isAdvancedPostgresEnabled() ) {
+ $whereSql = '';
$bindVars = array( $pContentId );
if( !$gBitUser->isAdmin() ) {
$whereSql = " AND (cgm.`security_id` IS NULL OR lc.`user_id`=?) ";