From 8670aa8846ca1a56351bef87f1a587393c9a5358 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Mon, 15 May 2023 14:23:31 +0800 Subject: [PATCH] * Modify incorrect comments. --- module/bug/control.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/bug/control.php b/module/bug/control.php index 82f28ad97a..744491d147 100755 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -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);