summaryrefslogtreecommitdiff
path: root/upload.php
diff options
context:
space:
mode:
authorLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-29 16:32:01 +0100
committerLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-29 16:32:01 +0100
commita8868a5c98ea26ff7066a9e89f540b1d6ba0db80 (patch)
tree074f6a1bbb930a9ea04d61619d3e3da1db772b5e /upload.php
parentfad791a43aea469023b37a8c1293ff795816e33e (diff)
downloadfisheye-a8868a5c98ea26ff7066a9e89f540b1d6ba0db80.tar.gz
fisheye-a8868a5c98ea26ff7066a9e89f540b1d6ba0db80.tar.bz2
fisheye-a8868a5c98ea26ff7066a9e89f540b1d6ba0db80.zip
Roll back getContentUrl to alternate static getDisplayUrl fix
getDisplayUrlFrom Hash used for static calls
Diffstat (limited to 'upload.php')
-rw-r--r--upload.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/upload.php b/upload.php
index 11fa1b6..935d2f0 100644
--- a/upload.php
+++ b/upload.php
@@ -23,14 +23,14 @@ $gBitSystem->verifyPermission( 'p_fisheye_upload' );
if( !empty( $_REQUEST['save_image'] ) ) {
$upErrors = fisheye_handle_upload( $_FILES );
if( empty( $upErrors ) ) {
- bit_redirect( $gContent->getContentUrl() );
+ bit_redirect( $gContent->getDisplayUrl() );
} else {
$gBitSmarty->assign( 'errors', $upErrors );
}
}
if ( !empty($_REQUEST['on_complete'])){
- if($_REQUEST['on_complete'] == 'refreshparent'){
+ if($_REQUEST['on_complete'] == 'refreshparent'){
$gBitSmarty->assign('onComplete','window.opener.location.reload(true);self.close();');
}