summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Thanks/includes/SpecialThanks.php')
-rw-r--r--Thanks/includes/SpecialThanks.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Thanks/includes/SpecialThanks.php b/Thanks/includes/SpecialThanks.php
index 43fd92e1..4b8e9c3a 100644
--- a/Thanks/includes/SpecialThanks.php
+++ b/Thanks/includes/SpecialThanks.php
@@ -11,7 +11,7 @@ class SpecialThanks extends FormSpecialPage {
/**
* 'rev' for revision, 'log' for log entry, or 'flow' for Flow comment,
* null if no ID is specified
- * @var string $type
+ * @var string|null $type
*/
protected $type;
@@ -146,7 +146,7 @@ class SpecialThanks extends FormSpecialPage {
} else {
$requestData = [
'action' => 'flowthank',
- 'postid' => $data['revid'],
+ 'postid' => $data['id'],
'token' => $this->getUser()->getEditToken(),
];
}