fix reply logic
This commit is contained in:
parent
55924549a3
commit
017d189c9c
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
||||||
} else if ($postType == 'comment') {
|
} else if ($postType == 'comment') {
|
||||||
$stmt = $db->prepare("SELECT * FROM comment WHERE id = ? ORDER BY date DESC");
|
$stmt = $db->prepare("SELECT * FROM comment WHERE id = ? ORDER BY date DESC");
|
||||||
$stmt->execute([
|
$stmt->execute([
|
||||||
$poid
|
$postId
|
||||||
]);
|
]);
|
||||||
$posts1 = $stmt->fetchAll(PDO::FETCH_DEFAULT);
|
$posts1 = $stmt->fetchAll(PDO::FETCH_DEFAULT);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue