mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
NOISSUE 게시판 카테고리 감춤 설정을 제대로 반영하지 못하는 문제 수정.
This commit is contained in:
parent
d441370523
commit
0eeaaef055
1 changed files with 17 additions and 6 deletions
|
|
@ -47,16 +47,27 @@ class boardView extends board
|
||||||
}
|
}
|
||||||
|
|
||||||
// use_category <=1.5.x, hide_category >=1.7.x
|
// use_category <=1.5.x, hide_category >=1.7.x
|
||||||
$count_category = count($oDocumentModel->getCategoryList($this->module_info->module_srl));
|
$count_category = count($oDocumentModel->getCategoryList($module_srl));
|
||||||
if($count_category && ($this->module_info->hide_category != 'Y' || $this->module_info->use_category != 'N'))
|
if($count_category)
|
||||||
{
|
{
|
||||||
$this->module_info->hide_category = 'N';
|
if($config->hide_category)
|
||||||
$this->module_info->use_category = 'Y';
|
{
|
||||||
|
$config->use_category = ($config->hide_category == 'Y') ? 'N' : 'Y';
|
||||||
|
}
|
||||||
|
else if($config->use_category)
|
||||||
|
{
|
||||||
|
$config->hide_category = ($config->use_category == 'Y') ? 'N' : 'Y';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$config->hide_category = 'N';
|
||||||
|
$config->use_category = 'Y';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$this->module_info->hide_category = 'Y';
|
$config->hide_category = 'Y';
|
||||||
$this->module_info->use_category = 'N';
|
$config->use_category = 'N';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue