* Fix regression in blocking of user accounts
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 11 Jul 2006 20:31:06 +0000 (20:31 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 11 Jul 2006 20:31:06 +0000 (20:31 +0000)
RELEASE-NOTES
includes/SpecialBlockip.php

index c65edd2..8f50cf9 100644 (file)
@@ -54,6 +54,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 6592) Add most viewed pages summary to Special:Statistics
 * Pre-strip characters ignored in IDNs from URLs so they can't be used
   to break the blacklists for regular URLs
+* Fix regression in blocking of user accounts
 
 
 == Languages updated ==
index 943d1d0..de242d1 100644 (file)
@@ -193,6 +193,7 @@ class IPBlockForm {
                                        if( !is_null( $user ) && $user->getID() ) {
                                                # Use canonical name
                                                $this->BlockAddress = $user->getName();
+                                               $userId = $user->getID();
                                        } else {
                                                $this->showForm( wfMsg( 'nosuchusershort', htmlspecialchars( $this->BlockAddress ) ) );
                                                return;