From 1e6e8f41fe4264c6dc3bc46763f083e3615a8652 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Mon, 7 Jul 2008 13:12:38 +0000 Subject: [PATCH] Don't check block errors on account creation, we already explicitly check it earlier in UserLogin and checking it here is rather annoying (causes "Block Account Creation" to break). --- includes/Title.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Title.php b/includes/Title.php index ed6810c9a0..972d3fc842 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1069,7 +1069,7 @@ class Title { $errors[] = array( 'confirmedittext' ); } - if ( $user->isBlockedFrom( $this ) ) { + if ( $user->isBlockedFrom( $this ) && $action != 'createaccount' ) { $block = $user->mBlock; // This is from OutputPage::blockedPage -- 2.20.1