summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-11-22 07:25:48 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-11-22 07:25:48 +0000
commit71866708351b4afcf2788e9d14b09648ae2344a5 (patch)
tree92dc917773700ec3b1f204761a2d861a199f999c /edit.php
parentdafea8f5bb826fba9321e08ec18ab3bdddac19e1 (diff)
downloadfisheye-71866708351b4afcf2788e9d14b09648ae2344a5.tar.gz
fisheye-71866708351b4afcf2788e9d14b09648ae2344a5.tar.bz2
fisheye-71866708351b4afcf2788e9d14b09648ae2344a5.zip
merge recent changes into HEAD
Diffstat (limited to 'edit.php')
-rw-r--r--edit.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/edit.php b/edit.php
index caf923f..66182f7 100644
--- a/edit.php
+++ b/edit.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/edit.php,v 1.7 2005/10/23 14:39:44 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/edit.php,v 1.8 2005/11/22 07:25:47 squareing Exp $
* @package fisheye
* @subpackage functions
*/
@@ -81,10 +81,11 @@ if( !empty($_REQUEST['savegallery']) ) {
$errors = (!empty($gContent->mErrors) ? $gContent->mErrors : array());
$gBitSmarty->assign_by_ref('errors', $errors);
-$gBitSmarty->assign_by_ref( 'parentGalleries', $gContent->getParentGalleries() );
+$gallery = $gContent->getParentGalleries();
+$gBitSmarty->assign_by_ref( 'parentGalleries', $gallery );
$getHash = array( 'user_id' => $gBitUser->mUserId, 'contain_item' => $gContent->mContentId, 'max_records' => -1, 'no_thumbnails' => TRUE, 'sort_mode'=>'title_asc' );
$galleryList = $gContent->getList( $getHash );
-$gBitSmarty->assign_by_ref('galleryList', $galleryList);
+$gBitSmarty->assign_by_ref( 'galleryList', $galleryList['data'] );
$gContent->invokeServices( 'content_edit_function' );