summaryrefslogtreecommitdiff
path: root/content_history_inc.php
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2008-10-03 13:52:47 +0000
committerwjames5 <will@tekimaki.com>2008-10-03 13:52:47 +0000
commit4d38b218d3105acfc93e257e8e65c202c5ce807a (patch)
tree4aeeb73ceddbd30f3ee8e324e111ebd5fedcba1b /content_history_inc.php
parent4ddefa334cca7ffcce5d693e192c211810c64cae (diff)
downloadliberty-4d38b218d3105acfc93e257e8e65c202c5ce807a.tar.gz
liberty-4d38b218d3105acfc93e257e8e65c202c5ce807a.tar.bz2
liberty-4d38b218d3105acfc93e257e8e65c202c5ce807a.zip
typo
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 003e7fd..d4b70c2 100644
--- a/content_history_inc.php
+++ b/content_history_inc.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Revision: 1.18 $
+ * @version $Revision: 1.19 $
* @package liberty
* @subpackage functions
*/
@@ -75,7 +75,7 @@ if( isset( $_REQUEST["delete"] ) && isset( $_REQUEST["hist"] )) {
$gBitSmarty->assign_by_ref( 'version_from', $from_version );
} elseif( @BitBase::verifyId( $_REQUEST["rollback"] )) {
- $gContent->verifyContentPermission( !empty( $rollbackPerm ) ? $rollbackPerm : $gContent->mEditContentPerm );
+ $gContent->verifyUserPermission( !empty( $rollbackPerm ) ? $rollbackPerm : $gContent->mEditContentPerm );
if( !isset( $_REQUEST["rollback_comment"] )) {
$_REQUEST["rollback_comment"] = '';
}