Index: trunk/phase3/includes/api/ApiEditPage.php |
— | — | @@ -136,9 +136,9 @@ |
137 | 137 | # Handle CAPTCHA parameters |
138 | 138 | global $wgRequest; |
139 | 139 | if(isset($params['captchaid'])) |
140 | | - $wgRequest->setVal( 'wpCaptchaId' ) = $params['captchaid']; |
| 140 | + $wgRequest->setVal( 'wpCaptchaId', $params['captchaid'] ); |
141 | 141 | if(isset($params['captchaword'])) |
142 | | - $wgRequest->setVal( 'wpCaptchaWord' ) = $params['captchaword']; |
| 142 | + $wgRequest->setVal( 'wpCaptchaWord', $params['captchaword'] ); |
143 | 143 | $r = array(); |
144 | 144 | if(!wfRunHooks('APIEditBeforeSave', array(&$ep, $ep->textbox1, &$r))) |
145 | 145 | { |