* [bug#59221] Reassignment of the person in charge is required only when the module owner is not empty.

This commit is contained in:
hufangzhou
2025-01-14 10:39:04 +08:00
committed by 谢杞钰
parent c49fdeed8f
commit 21d82a2cdb
+1 -1
View File
@@ -907,7 +907,7 @@ class bugZen extends bug
if(!empty($moduleID))
{
list($account, $realname) = $this->bug->getModuleOwner($moduleID, $productID);
$this->updateBug($bug, array('assignedTo' => $account));
if($account) $this->updateBug($bug, array('assignedTo' => $account));
}
return $this->updateBug($bug, array('modules' => $modules, 'moduleID' => $moduleID));