diff options
| author | Lester Caine ext:(%22) <lester@lsces.co.uk> | 2012-04-17 20:12:58 +0100 |
|---|---|---|
| committer | Lester Caine ext:(%22) <lester@lsces.co.uk> | 2012-04-17 20:12:58 +0100 |
| commit | acd866e421e9ca21c941587c67fcca6c4713c03a (patch) | |
| tree | 1b2cd9fb5c9fd2d9aa1294a56ec6a4540fa31e75 /image_order.php | |
| parent | bbb96f97e0301f4083e39a0e5a9117dc92f0c565 (diff) | |
| download | fisheye-acd866e421e9ca21c941587c67fcca6c4713c03a.tar.gz fisheye-acd866e421e9ca21c941587c67fcca6c4713c03a.tar.bz2 fisheye-acd866e421e9ca21c941587c67fcca6c4713c03a.zip | |
Tidy up to remove 'STRICT' warnings
Split static and dynamic use of getDisplayUrl
Create getContentUrl as the instantiated version
parameters need to be identical across all classes
Diffstat (limited to 'image_order.php')
| -rw-r--r-- | image_order.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/image_order.php b/image_order.php index 0469d37..ddf3541 100644 --- a/image_order.php +++ b/image_order.php @@ -26,7 +26,7 @@ if( $gBitSystem->isPackageActive( 'gatekeeper' ) ) { $gContent->verifyUpdatePermission(); if (!empty($_REQUEST['cancel'])) { - header( 'Location: '.$gContent->getDisplayUrl() ); + header( 'Location: '.$gContent->getContentUrl() ); die; } elseif (!empty($_REQUEST['updateImageOrder'])) { if( !empty( $_REQUEST['batch'] ) ) { @@ -95,7 +95,7 @@ if (!empty($_REQUEST['cancel'])) { } foreach ($_REQUEST['imagePosition'] as $contentId=>$newPos) { - if( $galleryItem = $gLibertySystem->getLibertyObject( $contentId ) ) { + if( $galleryItem = LibertyBase::getLibertyObject( $contentId ) ) { $galleryItem->load(); if( isset( $batchCon[$contentId] ) ) { if( !empty( $_REQUEST['batch_command'] ) ) { |
