Index: trunk/extensions/FlaggedRevs/frontend/RevisionReviewFormUI.php |
— | — | @@ -221,7 +221,7 @@ |
222 | 222 | $form .= Html::hidden( 'target', $article->getTitle()->getPrefixedDBKey() ) . "\n"; |
223 | 223 | $form .= Html::hidden( 'refid', $priorRevId, array( 'id' => 'mw-fr-input-refid' ) ) . "\n"; |
224 | 224 | $form .= Html::hidden( 'oldid', $revId, array( 'id' => 'mw-fr-input-oldid' ) ) . "\n"; |
225 | | - $form .= Html::hidden( 'wpEditToken', $this->user->editToken() ) . "\n"; |
| 225 | + $form .= Html::hidden( 'wpEditToken', $this->user->getEditToken() ) . "\n"; |
226 | 226 | $form .= Html::hidden( 'changetime', $reviewTime, |
227 | 227 | array( 'id' => 'mw-fr-input-changetime' ) ) . "\n"; // id for JS |
228 | 228 | $form .= Html::hidden( 'userreviewing', (int)($u === $this->user->getName()), |