Index: trunk/phase3/includes/ProtectionForm.php |
— | — | @@ -65,8 +65,8 @@ |
66 | 66 | : array(); |
67 | 67 | |
68 | 68 | $this->mReason = $wgRequest->getText( 'mwProtect-reason' ); |
69 | | - $this->mCascade = $wgRequest->getBool( 'mwProtect-cascade' ); |
70 | | - $this->mExpiry = $wgRequest->getText( 'mwProtect-expiry', 'infinite' ); |
| 69 | + $this->mCascade = $wgRequest->getBool( 'mwProtect-cascade', $this->mCascade ); |
| 70 | + $this->mExpiry = $wgRequest->getText( 'mwProtect-expiry', $this->mExpiry ); |
71 | 71 | |
72 | 72 | foreach( $this->mApplicableTypes as $action ) { |
73 | 73 | $val = $wgRequest->getVal( "mwProtect-level-$action" ); |