Fix online issue

This commit is contained in:
Pierre
2018-05-19 09:36:09 +02:00
parent 3f0c64495f
commit 039a47a105
2 changed files with 2 additions and 2 deletions

View File

@ -529,7 +529,7 @@ class PostsController {
$data["userID"] = $post->get_userID();
$data["user_page_id"] = $post->get_user_page_id();
$data["post_time"] = $post->get_time_sent();
$data["content"] = $post->has_content() ? utf8_encode($post->get_content()) : null;
$data["content"] = $post->has_content() ? $post->get_content() : null;
$data["visibility_level"] = self::VISIBILITY_LEVELS_API[$post->get_visibility_level()];
$data["kind"] = $post->get_kind();