From 9fe81117f9694f25d47d8bd86425502f464de3d4 Mon Sep 17 00:00:00 2001 From: bnu Date: Wed, 22 Jan 2014 22:09:09 +0900 Subject: [PATCH] =?UTF-8?q?fix=20#357=20=EC=9E=98=EB=AA=BB=20=EB=90=9C=20?= =?UTF-8?q?=EB=B3=80=EC=88=98=EB=AA=85=EC=9C=BC=EB=A1=9C=20=EC=9D=B8?= =?UTF-8?q?=ED=95=B4=20=EC=B9=B4=ED=85=8C=EA=B3=A0=EB=A6=AC=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=EC=9D=B4=20=EC=A0=81=EC=9A=A9=EB=90=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/board/board.view.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/board/board.view.php b/modules/board/board.view.php index 7c0da1803..0cb726577 100644 --- a/modules/board/board.view.php +++ b/modules/board/board.view.php @@ -47,27 +47,27 @@ class boardView extends board } // use_category <=1.5.x, hide_category >=1.7.x - $count_category = count($oDocumentModel->getCategoryList($module_srl)); + $count_category = count($oDocumentModel->getCategoryList($this->module_info->module_srl)); if($count_category) { - if($config->hide_category) + if($this->module_info->hide_category) { - $config->use_category = ($config->hide_category == 'Y') ? 'N' : 'Y'; + $this->module_info->use_category = ($this->module_info->hide_category == 'Y') ? 'N' : 'Y'; } - else if($config->use_category) + else if($this->module_info->use_category) { - $config->hide_category = ($config->use_category == 'Y') ? 'N' : 'Y'; + $this->module_info->hide_category = ($this->module_info->use_category == 'Y') ? 'N' : 'Y'; } else { - $config->hide_category = 'N'; - $config->use_category = 'Y'; + $this->module_info->hide_category = 'N'; + $this->module_info->use_category = 'Y'; } } else { - $config->hide_category = 'Y'; - $config->use_category = 'N'; + $this->module_info->hide_category = 'Y'; + $this->module_info->use_category = 'N'; } /**