From 2c5e59a8a99cd24629fe6e3a97e240d5ecc9b2e6 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Fri, 31 May 2024 11:06:54 +0800 Subject: [PATCH] * [misc,0.1h] adjust call method param type for host. --- module/host/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }