mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix type error when BoardModel::getListConfig() is called with invalid parameter
This commit is contained in:
parent
1bfe3740ff
commit
8f20339549
1 changed files with 1 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ class BoardModel extends Board
|
|||
public static function getListConfig($module_srl)
|
||||
{
|
||||
// get the list config value, if it is not exitsted then setup the default value
|
||||
$module_srl = (int)$module_srl;
|
||||
$list_config = ModuleModel::getModulePartConfig('board', $module_srl);
|
||||
if(!is_array($list_config) || count($list_config) <= 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue