From a82e5e1b7f9c94e53b154b285b2afbd3566529bf Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sun, 18 Dec 2022 01:07:43 +0900 Subject: [PATCH] Only show published comments in content widget #2035 --- widgets/content/content.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/content/content.class.php b/widgets/content/content.class.php index 2627898e7..7e7271ba0 100644 --- a/widgets/content/content.class.php +++ b/widgets/content/content.class.php @@ -190,7 +190,7 @@ class content extends WidgetHandler $obj->module_srl = $args->module_srl; $obj->sort_index = $args->order_target; $obj->list_count = $args->list_count * $args->page_count; - + $obj->statusList = [1]; if($args->show_secret != 'Y') { $obj->is_secret = 'N';