diff --git a/docs/api/comment.php b/docs/api/comment.php index 49f9a5c..7dfa729 100644 --- a/docs/api/comment.php +++ b/docs/api/comment.php @@ -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);