summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-06-27 15:16:36 +0200
committerAndreas Gohr <andi@splitbrain.org>2010-06-27 15:16:36 +0200
commit134b7bd9e90653ac01e8b80e46c4ec4ea0e62be0 (patch)
tree314276cb1c1548a9d425dc0c72d6a6960a631512
parentbf815306862aa34ee3bf304147a862efc52f9b63 (diff)
downloadrpg-134b7bd9e90653ac01e8b80e46c4ec4ea0e62be0.tar.gz
rpg-134b7bd9e90653ac01e8b80e46c4ec4ea0e62be0.tar.bz2
do not require special permissions to look at index FS#1720
-rw-r--r--inc/actions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/actions.php b/inc/actions.php
index 5141f1941..914ff1ce6 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -231,7 +231,7 @@ function act_permcheck($act){
}else{
$permneed = AUTH_CREATE;
}
- }elseif(in_array($act,array('login','search','recent','profile'))){
+ }elseif(in_array($act,array('login','search','recent','profile','index'))){
$permneed = AUTH_NONE;
}elseif($act == 'revert'){
$permneed = AUTH_ADMIN;