diff --git a/module/host/model.php b/module/host/model.php index 3c622a823c..b2b503a0a5 100644 --- a/module/host/model.php +++ b/module/host/model.php @@ -81,7 +81,7 @@ class hostModel extends model foreach(explode(',', $moduleIdList) as $moduleID) { if(empty($moduleID)) continue; - $modules += $this->tree->getAllChildId($moduleID); + $modules += $this->tree->getAllChildId((int)$moduleID); } }