Fix #1295 empty list returned in procCommentGetList

This commit is contained in:
Kijin Sung 2020-05-26 19:19:20 +09:00
parent 5cd1cc53a5
commit 3f9d406f8d
2 changed files with 2 additions and 2 deletions

View file

@ -1828,7 +1828,7 @@ class commentController extends comment
{
foreach($commentList as $value)
{
$value->content = strip_tags($value->content);
$value->content = escape(strip_tags($value->content), false);
}
}
}

View file

@ -187,7 +187,7 @@ class commentModel extends comment
// fetch from a database
$args = new stdClass();
$args->comment_srls = $comment_srls;
$args->comment_srls = $comment_srl_list;
$output = executeQuery('comment.getComments', $args, $columnList);
if(!$output->toBool())
{