summaryrefslogtreecommitdiff
path: root/upload.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2007-10-25 17:39:41 +0000
committerChristian Fowler <spider@viovio.com>2007-10-25 17:39:41 +0000
commita25c18dae272813c0450a90a112f554a002d6a65 (patch)
tree6417f733a485cc6e478469acc57a13b9cd168d1a /upload.php
parent43d67edb6b556361adf43f00a3557aec3375d997 (diff)
downloadfisheye-a25c18dae272813c0450a90a112f554a002d6a65.tar.gz
fisheye-a25c18dae272813c0450a90a112f554a002d6a65.tar.bz2
fisheye-a25c18dae272813c0450a90a112f554a002d6a65.zip
fix upload galleryList hash for 'data' changes in FisheyeGallery::getList
Diffstat (limited to 'upload.php')
-rw-r--r--upload.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/upload.php b/upload.php
index 167e7bc..cc79372 100644
--- a/upload.php
+++ b/upload.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/upload.php,v 1.32 2007/09/13 15:31:05 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/upload.php,v 1.33 2007/10/25 17:39:41 spiderr Exp $
* @package fisheye
* @subpackage functions
*/
@@ -104,14 +104,14 @@ if( $gBitSystem->isFeatureActive( 'fisheye_show_all_to_admins' ) && $gBitUser->h
$listHash['show_public'] = TRUE;
}
$galleryList = $gFisheyeGallery->getList( $listHash );
-if( @BitBase::verifyId( $_REQUEST['gallery_id'] ) && empty( $galleryList['data'][$_REQUEST['gallery_id']] ) ) {
+if( @BitBase::verifyId( $_REQUEST['gallery_id'] ) && empty( $galleryList[$_REQUEST['gallery_id']] ) ) {
$addGallery = new FisheyeGallery( $_REQUEST['gallery_id'] );
if( $addGallery->load() && $addGallery->hasViewPermission() ) {
- $galleryList['data'][$_REQUEST['gallery_id']] = $addGallery->mInfo;
+ $galleryList[$_REQUEST['gallery_id']] = $addGallery->mInfo;
}
}
-$gBitSmarty->assign_by_ref( 'galleryList', $galleryList['data'] );
+$gBitSmarty->assign_by_ref( 'galleryList', $galleryList );
if( $gBitSystem->isPackageActive( 'gigaupload' ) ) {
gigaupload_smarty_setup( FISHEYE_PKG_URL.'upload.php' );