From 63b083428fe6fd26b00e1498b5748ee499293a07 Mon Sep 17 00:00:00 2001 From: Retrofoxxo <144725203+retrofoxxo@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:54:29 +0200 Subject: [PATCH] fix a issue --- post/comments.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +?>