From: Brion Vibber Date: Sun, 24 Jul 2005 16:58:14 +0000 (+0000) Subject: * (bug 2953) 'other' didn't work in Special:Blockip when localized X-Git-Tag: 1.5.0beta4~39 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=f56bba005a293584a1b8a74112bd474fdec210cd;p=lhc%2Fweb%2Fwiklou.git * (bug 2953) 'other' didn't work in Special:Blockip when localized --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 103911d264..54f96132df 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/includes/SpecialBlockip.php b/includes/SpecialBlockip.php index 68dfed7d02..8d7c3bb617 100644 --- a/includes/SpecialBlockip.php +++ b/includes/SpecialBlockip.php @@ -179,7 +179,7 @@ class IPBlockForm { } $expirestr = $this->BlockExpiry; - if ($expirestr == wfMsg('ipbotheroption')) + if( $expirestr == 'other' ) $expirestr = $this->BlockOther; if (strlen($expirestr) == 0) {