* Modify incorrect comments.

This commit is contained in:
liumengyi
2023-05-15 14:23:31 +08:00
parent f43cb497bb
commit 8670aa8846
+2 -1
View File
@@ -710,7 +710,7 @@ class bug extends control
*/
public function assignTo(int $bugID)
{
/* Get old task, and check privilege of the execution. */
/* Get old bug, and check privilege of the execution. */
$bug = $this->bug->getById($bugID);
$this->bugZen->checkBugExecutionPriv($bug);
@@ -965,6 +965,7 @@ class bug extends control
*/
public function resolve($bugID, $extra = '')
{
/* Get bug. */
$bug = $this->bug->getById($bugID);
if($bug->execution) $execution = $this->loadModel('execution')->getByID($bug->execution);