summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authormatthiasgrimm <matthiasgrimm@users.sourceforge.net>2005-05-09 22:44:23 +0200
committermatthiasgrimm <matthiasgrimm@users.sourceforge.net>2005-05-09 22:44:23 +0200
commit5e199953f8f0dfb86624905ebf237d99e2f6bb67 (patch)
tree9acc4c30a176098d2e9275b3b22933d7896a5da4 /inc/html.php
parent947fa1988384edf953a01a838184426cfaec011a (diff)
downloadrpg-5e199953f8f0dfb86624905ebf237d99e2f6bb67.tar.gz
rpg-5e199953f8f0dfb86624905ebf237d99e2f6bb67.tar.bz2
fixing user registration from admin page
This patch fixes the user registration from the admin page. It removes the 'register' filter in act_clean() and enables act_permcheck() to handle permissions to 'register' differentially. darcs-hash:20050509204423-7ef76-eeb3681e364b85690c342f8eabeb65d326cb0637.gz
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index cb076b76d..e6cf77ab0 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -994,7 +994,7 @@ function html_admin(){
// currently ACL only - more to come
ptln('<li><a href="'.wl($ID,'do=admin&amp;page=acl').'">'.$lang['admin_acl'].'</a></li>');
if (!$conf['openregister']){
- ptln('<li><a href="'.wl($ID,'do=admin&amp;page=register').'">'.$lang['admin_register'].'</a></li>');
+ ptln('<li><a href="'.wl($ID,'do=register').'">'.$lang['admin_register'].'</a></li>');
}
ptln('</ul>');