diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-08-24 20:50:17 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-08-24 20:50:17 +0000 |
| commit | 45f31d03125b5d2b858e57ec02e8c7fca748180c (patch) | |
| tree | 18714dc0416435f994f08d52e7e181c83bd9c5b8 /image_order.php | |
| parent | b7e497184430d90001a1e8482c7d9719ec84d0be (diff) | |
| download | fisheye-45f31d03125b5d2b858e57ec02e8c7fca748180c.tar.gz fisheye-45f31d03125b5d2b858e57ec02e8c7fca748180c.tar.bz2 fisheye-45f31d03125b5d2b858e57ec02e8c7fca748180c.zip | |
synch recent changes from R1 to HEAD
Diffstat (limited to 'image_order.php')
| -rw-r--r-- | image_order.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/image_order.php b/image_order.php index 7717c40..1bb6fff 100644 --- a/image_order.php +++ b/image_order.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_fisheye/image_order.php,v 1.4 2005/08/01 18:40:07 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_fisheye/image_order.php,v 1.5 2005/08/24 20:50:17 squareing Exp $ * @package fisheye * @subpackage functions */ @@ -64,11 +64,10 @@ if (!empty($_REQUEST['cancel'])) { } foreach ($_REQUEST['imagePosition'] as $contentId=>$newPos) { - $galleryItem = $gLibertySystem->getLibertyObject( $contentId ); - if( $galleryItem->load() ) { + if( $galleryItem = $gLibertySystem->getLibertyObject( $contentId ) ) { if( isset( $batchCon[$contentId] ) ) { if( !empty( $_REQUEST['batch_command'] ) ) { - list( $batchCommand, $batchParam ) = @split( ':', $_REQUEST['batch_command'] ); + @list( $batchCommand, $batchParam ) = @split( ':', $_REQUEST['batch_command'] ); switch( $batchCommand ) { case 'delete': $galleryItem->expunge(); |
