summaryrefslogtreecommitdiff
path: root/FisheyeGallery.php
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-06-13 17:33:40 +0000
committerNick Palmer <nick@sluggardy.net>2007-06-13 17:33:40 +0000
commit933525b89d0366531b0c7e219bc0fd862474ca9a (patch)
tree923960e5eff5341fa85fdb94ac4fe32f634d2320 /FisheyeGallery.php
parentb8539ef8222ea8902c95e1d7ac068068f50afb0e (diff)
downloadfisheye-933525b89d0366531b0c7e219bc0fd862474ca9a.tar.gz
fisheye-933525b89d0366531b0c7e219bc0fd862474ca9a.tar.bz2
fisheye-933525b89d0366531b0c7e219bc0fd862474ca9a.zip
Hide breadcrumbs for private galleries.
Diffstat (limited to 'FisheyeGallery.php')
-rw-r--r--FisheyeGallery.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/FisheyeGallery.php b/FisheyeGallery.php
index abd07cc..a96a578 100644
--- a/FisheyeGallery.php
+++ b/FisheyeGallery.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeGallery.php,v 1.57 2007/06/11 19:05:48 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeGallery.php,v 1.58 2007/06/13 17:33:40 nickpalmer Exp $
* @package fisheye
*/
@@ -134,7 +134,7 @@ class FisheyeGallery extends FisheyeBase {
unset( $this->mContentId );
unset( $this->mGalleryId );
}
- if( @$this->verifyId( $pCurrentImageId ) ) {
+ if( @$this->verifyId( $pCurrentImageId ) && @$this->verifyId($this->mContentId)) {
// this code sucks but works - XOXO spiderr
$query = "SELECT fgim.*, fi.`image_id`, lf.`storage_path`
FROM `".BIT_DB_PREFIX."fisheye_gallery_image_map` fgim