mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
fix #357 잘못 된 변수명으로 인해 카테고리 설정이 적용되지 않는 문제 수정
This commit is contained in:
parent
82974b0438
commit
9fe81117f9
1 changed files with 9 additions and 9 deletions
|
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue