summaryrefslogtreecommitdiff
path: root/content_history_inc.php
diff options
context:
space:
mode:
authorLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-17 20:09:13 +0100
committerLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-17 20:09:13 +0100
commitbf8fc60e97585849d69e5e076dae3233273f4016 (patch)
treedfd09cfac9bd9bd716cb2299543ff7377f78381a /content_history_inc.php
parent67688131b7cddf906ff98e2bc4f3bce3ac466879 (diff)
downloadliberty-bf8fc60e97585849d69e5e076dae3233273f4016.tar.gz
liberty-bf8fc60e97585849d69e5e076dae3233273f4016.tar.bz2
liberty-bf8fc60e97585849d69e5e076dae3233273f4016.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 getAttachment augmented by a static loadAttachment
Diffstat (limited to 'content_history_inc.php')
-rw-r--r--content_history_inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_history_inc.php b/content_history_inc.php
index f866ae8..292a208 100644
--- a/content_history_inc.php
+++ b/content_history_inc.php
@@ -80,7 +80,7 @@ if( isset( $_REQUEST["delete"] ) && isset( $_REQUEST["hist"] )) {
$_REQUEST["rollback_comment"] = '';
}
if( $gContent->rollbackVersion( $_REQUEST["rollback"], $_REQUEST["rollback_comment"] )) {
- bit_redirect( $gContent->getDisplayUrl() );
+ bit_redirect( $gContent->getContactUrl() );
}
}