r66715 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66714‎ | r66715 | r66716 >
Date:00:40, 21 May 2010
Author:aaron
Status:ok
Tags:
Comment:
Added missing setValidatedParams() call for API
Modified paths:
  • /trunk/extensions/FlaggedRevs/api/ApiReview.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/api/ApiReview.php
@@ -87,6 +87,9 @@
8888 $form->setTemplateParams( $templateParams );
8989 $form->setFileParams( $imageParams );
9090 $form->setFileVersion( $fileVersion );
 91+ $key = RevisionReviewForm::validationKey(
 92+ $templateParams, $imageParams, $fileVersion, $revid );
 93+ $form->setValidatedParams( $key ); # always OK
9194 }
9295
9396 $status = $form->ready(); // all params set

Status & tagging log