Index: trunk/extensions/FlaggedRevs/api/ApiReview.php |
— | — | @@ -87,6 +87,9 @@ |
88 | 88 | $form->setTemplateParams( $templateParams ); |
89 | 89 | $form->setFileParams( $imageParams ); |
90 | 90 | $form->setFileVersion( $fileVersion ); |
| 91 | + $key = RevisionReviewForm::validationKey( |
| 92 | + $templateParams, $imageParams, $fileVersion, $revid ); |
| 93 | + $form->setValidatedParams( $key ); # always OK |
91 | 94 | } |
92 | 95 | |
93 | 96 | $status = $form->ready(); // all params set |