From cfda5fb062527624e3c600a24b36098e9ae32305 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 13 Sep 2008 09:24:51 +0000 Subject: [PATCH] make "other time" chain properly with JS --- includes/ProtectionForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1