diff options
| author | Christian Fowler <spider@viovio.com> | 2007-03-14 23:22:30 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2007-03-14 23:22:30 +0000 |
| commit | 7f97f94040d7c1b6bab7b7465417a91cc85c8b4e (patch) | |
| tree | 15dcdb7a4abd21a441704a4434d6592518968c7c /FisheyeGallery.php | |
| parent | c02f999d03fac647b68aa610910471e34077e90f (diff) | |
| download | fisheye-7f97f94040d7c1b6bab7b7465417a91cc85c8b4e.tar.gz fisheye-7f97f94040d7c1b6bab7b7465417a91cc85c8b4e.tar.bz2 fisheye-7f97f94040d7c1b6bab7b7465417a91cc85c8b4e.zip | |
initialize whereSql
Diffstat (limited to 'FisheyeGallery.php')
| -rw-r--r-- | FisheyeGallery.php | 3 |
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`=?) "; |
