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); }