From 423d49d2b94cc97c6b7d04e92282d9aaabc376e9 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Mon, 21 Aug 2023 13:25:20 +0800 Subject: [PATCH] * Fix bug of type error. --- module/bug/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/control.php b/module/bug/control.php index 730ae6c15f..480bb7400e 100755 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -979,7 +979,7 @@ class bug extends control /* 更新 bug 的计划。 */ /* Update the plan of the bug. */ $bug = new stdclass(); - $bug->id = $bugID; + $bug->id = (int)$bugID; $bug->plan = $planID; $this->bug->update($bug); }