summaryrefslogtreecommitdiff
path: root/page_history.php
diff options
context:
space:
mode:
authorSylvie Greverend <sylvieg@users.sourceforge.net>2006-05-12 20:33:25 +0000
committerSylvie Greverend <sylvieg@users.sourceforge.net>2006-05-12 20:33:25 +0000
commit4c187515f0fd7fe656b7edc55669864f1e2cb0ea (patch)
treec14b02f7c0799768ed71caefc277462b3eef9a4d /page_history.php
parentec9047aa4810a6d541bc364037c49f2e96f8dd5b (diff)
downloadwiki-4c187515f0fd7fe656b7edc55669864f1e2cb0ea.tar.gz
wiki-4c187515f0fd7fe656b7edc55669864f1e2cb0ea.tar.bz2
wiki-4c187515f0fd7fe656b7edc55669864f1e2cb0ea.zip
new perm p_wiki_view_history
Diffstat (limited to 'page_history.php')
-rw-r--r--page_history.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/page_history.php b/page_history.php
index e7d7efe..9cc595f 100644
--- a/page_history.php
+++ b/page_history.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/page_history.php,v 1.13 2006/04/11 13:10:33 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/page_history.php,v 1.14 2006/05/12 20:33:25 sylvieg Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: page_history.php,v 1.13 2006/04/11 13:10:33 squareing Exp $
+ * $Id: page_history.php,v 1.14 2006/05/12 20:33:25 sylvieg Exp $
* @package wiki
* @subpackage functions
*/
@@ -22,6 +22,7 @@ include_once( WIKI_PKG_PATH.'BitPage.php');
$gBitSystem->verifyPackage( 'wiki' );
$gBitSystem->verifyFeature( 'wiki_history' );
$gBitSystem->verifyPermission( 'p_wiki_view_page', tra( "Permission denied you cannot browse this page history" ) );
+$gBitSystem->verifyPermission( 'p_wiki_view_history', tra( "Permission denied you cannot browse this page history" ) );
// Get the page from the request var or default it to HomePage
include( WIKI_PKG_PATH.'lookup_page_inc.php' );