summaryrefslogtreecommitdiff
path: root/includes/gallery_lookup_inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/gallery_lookup_inc.php')
-rwxr-xr-xincludes/gallery_lookup_inc.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/includes/gallery_lookup_inc.php b/includes/gallery_lookup_inc.php
index 28d652a..9f62e38 100755
--- a/includes/gallery_lookup_inc.php
+++ b/includes/gallery_lookup_inc.php
@@ -16,9 +16,6 @@ if( !$gContent = FisheyeGallery::lookup( $_REQUEST ) ) {
if( !empty( $_REQUEST['gallery_path'] ) ) {
$gContent->setGalleryPath( $_REQUEST['gallery_path'] );
-} elseif( $gContent->isValid() && $parents = $gContent->getParentGalleries() ) {
- $gal = current( $parents );
- $gContent->setGalleryPath( '/'.$gal['gallery_id'] );
}
$gBitSmarty->assign('gContent', $gContent);