From cb3bf4aace27ea01868b33124ef1d0114fd55699 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Fri, 22 Nov 2019 20:31:24 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B8=80=20=EB=B3=B4=EA=B8=B0=20=EA=B6=8C?= =?UTF-8?q?=ED=95=9C=EC=9D=B4=20=EC=97=86=EB=8A=94=20=EA=B2=8C=EC=8B=9C?= =?UTF-8?q?=ED=8C=90=EC=97=90=EC=84=9C=20=EA=B2=80=EC=83=89=20=EC=A0=9C?= =?UTF-8?q?=ED=95=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit xpressengine/xe-core@5ef37ccc --- modules/board/board.view.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/board/board.view.php b/modules/board/board.view.php index 8d9cadee9..2fa7c3861 100644 --- a/modules/board/board.view.php +++ b/modules/board/board.view.php @@ -487,8 +487,11 @@ class boardView extends board $args->page_count = $this->page_count; // get the search target and keyword - $args->search_target = Context::get('search_target'); - $args->search_keyword = Context::get('search_keyword'); + if ($this->grant->view) + { + $args->search_target = Context::get('search_target'); + $args->search_keyword = Context::get('search_keyword'); + } if(!$search_option = Context::get('search_option')) {