NOISSUE cleanup

This commit is contained in:
bnu 2014-01-29 14:59:04 +09:00
parent b758cf93dd
commit bd4372aff9
3 changed files with 15 additions and 14 deletions

View file

@ -25,7 +25,7 @@ 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))
if(!$list_config || count($list_config) <= 0)
{
$list_config = array( 'no', 'title', 'nick_name','regdate','readed_count');
}