diff options
| author | Lester Caine ext:(%22) <lester@lsces.co.uk> | 2012-04-29 16:32:01 +0100 |
|---|---|---|
| committer | Lester Caine ext:(%22) <lester@lsces.co.uk> | 2012-04-29 16:32:01 +0100 |
| commit | a8868a5c98ea26ff7066a9e89f540b1d6ba0db80 (patch) | |
| tree | 074f6a1bbb930a9ea04d61619d3e3da1db772b5e /upload.php | |
| parent | fad791a43aea469023b37a8c1293ff795816e33e (diff) | |
| download | fisheye-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.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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();'); } |
