* Using wfMsgForContent() rather than wfMsg() for getting msg:ipboptions
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Tue, 28 Jun 2005 17:05:23 +0000 (17:05 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Tue, 28 Jun 2005 17:05:23 +0000 (17:05 +0000)
includes/SpecialBlockip.php

index ea0cd04..4d60cdc 100644 (file)
@@ -75,7 +75,7 @@ class IPBlockForm {
                $scBlockExpiry = htmlspecialchars( $this->BlockExpiry );
                $scBlockReason = htmlspecialchars( $this->BlockReason );
                $scBlockOtherTime = htmlspecialchars( $this->BlockOther );
-               $scBlockExpiryOptions = htmlspecialchars( wfMsg( 'ipboptions' ) );
+               $scBlockExpiryOptions = htmlspecialchars( wfMsgForContent( 'ipboptions' ) );
 
                $showblockoptions = $scBlockExpiryOptions != '-';
                if (!$showblockoptions)