diff --git a/post/comments.php b/post/comments.php index 2922c1f..1c3c0a7 100644 --- a/post/comments.php +++ b/post/comments.php @@ -52,7 +52,7 @@ $color = $account_row['color']; $verified = $account_row['verified']; $avatarUrl = $account_row['picture']; if ($account_row['description'] == "") { -$description = null; +$description = '""'; } else { $description = '"' . $account_row['description'] . '"'; } @@ -76,4 +76,4 @@ echo '{"code": "", "data": {"count": 0, "records": [], "nextPage": null, "anchor } } $conn->close(); -?> \ No newline at end of file +?>