summaryrefslogtreecommitdiff
path: root/content_history_inc.php
diff options
context:
space:
mode:
authorJams H Thompson <jht001@users.sourceforge.net>2007-11-20 09:57:17 +0000
committerJams H Thompson <jht001@users.sourceforge.net>2007-11-20 09:57:17 +0000
commit67e8165296e021987c08cfd944866cf0bba43266 (patch)
tree4e77113d87bde60919f05de607f489649bd802bd /content_history_inc.php
parentf9381a2ec09e5154ecf4129275b015e818d3e105 (diff)
downloadliberty-67e8165296e021987c08cfd944866cf0bba43266.tar.gz
liberty-67e8165296e021987c08cfd944866cf0bba43266.tar.bz2
liberty-67e8165296e021987c08cfd944866cf0bba43266.zip
improve support for rollback comments
Diffstat (limited to 'content_history_inc.php')
-rw-r--r--content_history_inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/content_history_inc.php b/content_history_inc.php
index 829b26e..25a6887 100644
--- a/content_history_inc.php
+++ b/content_history_inc.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Revision: 1.11 $
+ * @version $Revision: 1.12 $
* @package liberty
* @subpackage functions
*/
@@ -75,7 +75,7 @@ if( isset( $_REQUEST["delete"] ) && isset( $_REQUEST["hist"] )) {
} elseif( @BitBase::verifyId( $_REQUEST["rollback"] )) {
$gContent->verifyPermission( !empty( $rollbackPerm ) ? $rollbackPerm : $gContent->mEditContentPerm );
- if( $gContent->rollbackVersion( $_REQUEST["rollback"] )) {
+ if( $gContent->rollbackVersion( $_REQUEST["rollback"], $_REQUEST["rollback_comment"] )) {
bit_redirect( $gContent->getDisplayUrl() );
}
}