Index: trunk/extensions/ContactPage/SpecialContact.php |
— | — | @@ -60,6 +60,8 @@ |
61 | 61 | wfDebug( "$fname: success.\n" ); |
62 | 62 | $f->showSuccess( ); |
63 | 63 | } else if ( "submit" == $action && $wgRequest->wasPosted() ) {# |
| 64 | + wfSetupSession(); #NOTE: make sure we have a session. May be required for captchas to work. |
| 65 | + |
64 | 66 | $token = $wgRequest->getVal( 'wpEditToken' ); |
65 | 67 | |
66 | 68 | if( $wgUser->isAnon() ) { |