Index: trunk/extensions/Renameuser/SpecialRenameuser_body.php |
— | — | @@ -56,10 +56,15 @@ |
57 | 57 | $move_checked = true; |
58 | 58 | $reserve_checked = false; |
59 | 59 | if( $wgRequest->wasPosted() ) { |
60 | | - if( !$wgRequest->getCheck( 'movepages' ) ) |
| 60 | + if( !$wgRequest->getCheck( 'movepages' ) ) { |
61 | 61 | $move_checked = false; |
62 | | - if( !$wgRequest->getCheck( 'reservename' ) ) |
| 62 | + } |
| 63 | + if( !$wgRequest->getCheck( 'reservename' ) ) { |
63 | 64 | $reserve_checked = false; |
| 65 | + } |
| 66 | + else { |
| 67 | + $reserve_checked = true; |
| 68 | + } |
64 | 69 | } |
65 | 70 | $warnings = array(); |
66 | 71 | if( $oun && $nun && !$wgRequest->getCheck( 'confirmaction' ) ) { |