Index: branches/REL1_18/extensions/ConfirmAccount/RequestAccount_body.php |
— | — | @@ -12,7 +12,7 @@ |
13 | 13 | } |
14 | 14 | |
15 | 15 | function execute( $par ) { |
16 | | - global $wgUser, $wgOut, $wgRequest, $action, $wgUseRealNamesOnly, |
| 16 | + global $wgUser, $wgOut, $wgRequest, $wgUseRealNamesOnly, |
17 | 17 | $wgAccountRequestToS, $wgAccountRequestExtraInfo, $wgAccountRequestTypes; |
18 | 18 | # If a user cannot make accounts, don't let them request them either |
19 | 19 | global $wgAccountRequestWhileBlocked; |
— | — | @@ -66,6 +66,7 @@ |
67 | 67 | |
68 | 68 | $this->skin = $wgUser->getSkin(); |
69 | 69 | |
| 70 | + $action = $wgRequest->getVal( 'action' ); |
70 | 71 | if ( $wgRequest->wasPosted() && $wgUser->matchEditToken( $wgRequest->getVal( 'wpEditToken' ) ) ) { |
71 | 72 | $this->mPrevAttachment = $this->mPrevAttachment ? $this->mPrevAttachment : $this->mSrcName; |
72 | 73 | $this->doSubmit(); |