fix typo contribution_id
This commit is contained in:
@@ -632,7 +632,7 @@ function handle_create_comment($input) {
|
||||
$stmt2 = $pdo->prepare("
|
||||
UPDATE contributions
|
||||
SET comment_count = comment_count + 1
|
||||
WHERE id = :cid;
|
||||
WHERE contribution_id = :cid;
|
||||
");
|
||||
|
||||
$stmt2->execute([':cid' => $input['contribution_id']]);
|
||||
|
||||
Reference in New Issue
Block a user