* Fix bug of type error.

This commit is contained in:
liumengyi
2023-08-21 13:25:20 +08:00
parent a548c8d8e1
commit 423d49d2b9
+1 -1
View File
@@ -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);
}