* Fix bug #42282, remove closed from batch assign users.

This commit is contained in:
liumengyi
2023-12-27 10:34:25 +08:00
parent 3e75c1d947
commit f7db2b3231
+1 -1
View File
@@ -63,7 +63,7 @@ if($canBatchAssignTo)
$assignedToItems = array();
foreach ($users as $account => $name)
{
$assignedToItems[] = array('text' => $name, 'class' => 'batch-btn ajax-btn', 'data-url' => helper::createLink('bug', 'batchAssignTo', "assignedTo={$account}&objectID={$execution->id}"));
if($account != 'closed') $assignedToItems[] = array('text' => $name, 'class' => 'batch-btn ajax-btn', 'data-url' => helper::createLink('bug', 'batchAssignTo', "assignedTo={$account}&objectID={$execution->id}"));
}
menu(