r41428 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41427‎ | r41428 | r41429 >
Date:16:08, 30 September 2008
Author:rotem
Status:old (Comments)
Tags:
Comment:
Fixing a function call.
Modified paths:
  • /trunk/phase3/includes/api/ApiEditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiEditPage.php
@@ -136,9 +136,9 @@
137137 # Handle CAPTCHA parameters
138138 global $wgRequest;
139139 if(isset($params['captchaid']))
140 - $wgRequest->setVal( 'wpCaptchaId' ) = $params['captchaid'];
 140+ $wgRequest->setVal( 'wpCaptchaId', $params['captchaid'] );
141141 if(isset($params['captchaword']))
142 - $wgRequest->setVal( 'wpCaptchaWord' ) = $params['captchaword'];
 142+ $wgRequest->setVal( 'wpCaptchaWord', $params['captchaword'] );
143143 $r = array();
144144 if(!wfRunHooks('APIEditBeforeSave', array(&$ep, $ep->textbox1, &$r)))
145145 {

Comments

#Comment by Brion VIBBER (talk | contribs)   00:59, 1 October 2008

Fixed bad code from r41426.

Status & tagging log