* (bug 2953) 'other' didn't work in Special:Blockip when localized
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 24 Jul 2005 16:58:14 +0000 (16:58 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 24 Jul 2005 16:58:14 +0000 (16:58 +0000)
RELEASE-NOTES
includes/SpecialBlockip.php

index 103911d..54f9613 100644 (file)
@@ -605,6 +605,7 @@ of MediaWiki:Newpagetext) to &action=edit, if page is new.
   patch from robla
 * Wrap revision insert & page update in a transaction, rollback on late
   edit conflict.
+* (bug 2953) 'other' didn't work in Special:Blockip when localized
 
 
 === Caveats ===
index 68dfed7..8d7c3bb 100644 (file)
@@ -179,7 +179,7 @@ class IPBlockForm {
                }
 
                $expirestr = $this->BlockExpiry;
-               if ($expirestr == wfMsg('ipbotheroption'))
+               if( $expirestr == 'other' )
                        $expirestr = $this->BlockOther;
 
                if (strlen($expirestr) == 0) {