relocate
authorJoey Hess <joey@kodama.kitenet.net>
Sat, 2 Aug 2008 17:28:12 +0000 (13:28 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Sat, 2 Aug 2008 20:41:35 +0000 (16:41 -0400)
IkiWiki/CGI.pm

index 97ca6714f3cb78c05eb4428df08caa139f69e42e..cf72bfdb9f7205d73dea69c5612a0941fbe5c839 100644 (file)
@@ -226,12 +226,11 @@ sub cgi_prefs ($$) { #{{{
        $form->field(name => "sid", type => "hidden", value => $session->id,
                force => 1);
        $form->field(name => "email", size => 50, fieldset => "preferences");
-       $form->field(name => "banned_users", size => 50,
-               fieldset => "admin");
        
        my $user_name=$session->param("name");
 
        # XXX deprecated, should be removed eventually
+       $form->field(name => "banned_users", size => 50, fieldset => "admin");
        if (! is_admin($user_name)) {
                $form->field(name => "banned_users", type => "hidden");
        }