mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-20 10:52:14 +09:00
배열 체크하도록 수정
This commit is contained in:
parent
8e4f237b67
commit
7f18760161
1 changed files with 2 additions and 2 deletions
|
|
@ -25,9 +25,9 @@ class boardModel extends module
|
|||
|
||||
// get the list config value, if it is not exitsted then setup the default value
|
||||
$list_config = $oModuleModel->getModulePartConfig('board', $module_srl);
|
||||
if(!$list_config || count($list_config) <= 0)
|
||||
if(!is_array($list_config) || count($list_config) <= 0)
|
||||
{
|
||||
$list_config = array( 'no', 'title', 'nick_name','regdate','readed_count');
|
||||
$list_config = array('no', 'title', 'nick_name','regdate','readed_count');
|
||||
}
|
||||
|
||||
// get the extra variables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue