Fix #681 #788 exposure of secret comments and files in integration search

This commit is contained in:
Kijin Sung 2017-05-30 15:18:39 +09:00
parent 9756261a1a
commit d83ccd67aa
4 changed files with 30 additions and 1 deletions

View file

@ -685,6 +685,10 @@ class commentModel extends comment
$args->page_count = $obj->page_count ? $obj->page_count : 10;
$args->s_module_srl = $obj->module_srl;
$args->exclude_module_srl = $obj->exclude_module_srl;
if ($obj->is_secret)
{
$args->s_is_secret = $obj->is_secret;
}
// check if module is using comment validation system
$oCommentController = getController("comment");