summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-03-04 21:49:11 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-03-04 21:49:11 +0100
commitc09f3f1510ae2fc65fa2118f74630f8100a549ce (patch)
tree50ef593b6f41a917e55fe2bbe5bbd92d1d4c1bd9 /inc
parent0a91ddc03c2b15ce51208e2c35df292c5276f50e (diff)
downloadrpg-c09f3f1510ae2fc65fa2118f74630f8100a549ce.tar.gz
rpg-c09f3f1510ae2fc65fa2118f74630f8100a549ce.tar.bz2
use correct permission level for showing 'create page' text
Diffstat (limited to 'inc')
-rw-r--r--inc/html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index b88e58c3c..a9e799d66 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -304,7 +304,7 @@ function html_search(){
$intro = p_locale_xhtml('searchpage');
// allow use of placeholder in search intro
- $pagecreateinfo = (auth_quickaclcheck($ID) > AUTH_READ) ? $lang['searchcreatepage'] : '';
+ $pagecreateinfo = (auth_quickaclcheck($ID) >= AUTH_CREATE) ? $lang['searchcreatepage'] : '';
$intro = str_replace(
array('@QUERY@', '@SEARCH@', '@CREATEPAGEINFO@'),
array(hsc(rawurlencode($QUERY)), hsc($QUERY), $pagecreateinfo),