From: Aaron Schulz Date: Sat, 13 Sep 2008 09:24:51 +0000 (+0000) Subject: make "other time" chain properly with JS X-Git-Tag: 1.31.0-rc.0~45329 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=cfda5fb062527624e3c600a24b36098e9ae32305;p=lhc%2Fweb%2Fwiklou.git make "other time" chain properly with JS --- diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 212733ad97..c30adad7ad 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -282,7 +282,7 @@ class ProtectionForm { $mProtectexpiry = Xml::label( wfMsg( 'protectexpiry' ), "mwProtectExpiryList-$action" ); $mProtectother = Xml::label( wfMsg( 'protect-othertime' ), "mwProtect-$action-expires" ); - $expiryFormOptions = Xml::option( wfMsg( 'protect-othertime-op' ), "wpProtectExpiryList-$action" ); + $expiryFormOptions = Xml::option( wfMsg( 'protect-othertime-op' ), "othertime" ); foreach( explode(',', $scExpiryOptions) as $option ) { if ( strpos($option, ":") === false ) $option = "$option:$option"; list($show, $value) = explode(":", $option);