From f56bba005a293584a1b8a74112bd474fdec210cd Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 24 Jul 2005 16:58:14 +0000 Subject: [PATCH] * (bug 2953) 'other' didn't work in Special:Blockip when localized --- RELEASE-NOTES | 1 + includes/SpecialBlockip.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.20.1