fix reply logic

This commit is contained in:
biglyderv 2025-01-08 20:01:01 -05:00
parent 55924549a3
commit 017d189c9c

View file

@ -58,7 +58,7 @@
} else if ($postType == 'comment') {
$stmt = $db->prepare("SELECT * FROM comment WHERE id = ? ORDER BY date DESC");
$stmt->execute([
$poid
$postId
]);
$posts1 = $stmt->fetchAll(PDO::FETCH_DEFAULT);