mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-07-07 10:32:54 +00:00
Fix issues
This commit is contained in:
@ -188,7 +188,7 @@ class commentsController {
|
||||
$data["userID"] = $comment->get_userID();
|
||||
$data["postID"] = $comment->get_postID();
|
||||
$data["time_sent"] = $comment->get_time_sent();
|
||||
$data["content"] = $comment->get_content();
|
||||
$data["content"] = $comment->has_content() ? $comment->get_content() : "";
|
||||
|
||||
$data["img_path"] = $comment->has_img_path() ? $comment->get_img_path() : null;
|
||||
$data["img_url"] = $comment->has_img_url() ? $comment->get_img_url() : null;
|
||||
|
Reference in New Issue
Block a user