mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Fix PHP warnings due to unitiated variables #1866 thanks to @Erictoby
This commit is contained in:
parent
70cfe24cdd
commit
7e82d37cfa
11 changed files with 54 additions and 51 deletions
|
|
@ -45,11 +45,11 @@ class boardView extends board
|
|||
$count_category = count(DocumentModel::getCategoryList($this->module_info->module_srl));
|
||||
if($count_category)
|
||||
{
|
||||
if($this->module_info->hide_category)
|
||||
if(isset($this->module_info->hide_category))
|
||||
{
|
||||
$this->module_info->use_category = ($this->module_info->hide_category == 'Y') ? 'N' : 'Y';
|
||||
}
|
||||
else if($this->module_info->use_category)
|
||||
elseif(isset($this->module_info->use_category))
|
||||
{
|
||||
$this->module_info->hide_category = ($this->module_info->use_category == 'Y') ? 'N' : 'Y';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue