summaryrefslogtreecommitdiff
path: root/upload.php
diff options
context:
space:
mode:
authorLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-17 20:12:58 +0100
committerLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-17 20:12:58 +0100
commitacd866e421e9ca21c941587c67fcca6c4713c03a (patch)
tree1b2cd9fb5c9fd2d9aa1294a56ec6a4540fa31e75 /upload.php
parentbbb96f97e0301f4083e39a0e5a9117dc92f0c565 (diff)
downloadfisheye-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 'upload.php')
-rw-r--r--upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/upload.php b/upload.php
index 14357d8..11fa1b6 100644
--- a/upload.php
+++ b/upload.php
@@ -23,7 +23,7 @@ $gBitSystem->verifyPermission( 'p_fisheye_upload' );
if( !empty( $_REQUEST['save_image'] ) ) {
$upErrors = fisheye_handle_upload( $_FILES );
if( empty( $upErrors ) ) {
- bit_redirect( $gContent->getDisplayUrl() );
+ bit_redirect( $gContent->getContentUrl() );
} else {
$gBitSmarty->assign( 'errors', $upErrors );
}