* Fix bug of type error.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user