* [bug] fix batchAssign bug.

This commit is contained in:
sunguangming
2024-09-29 13:15:27 +08:00
committed by 王怡栋
parent 005868ed96
commit b44f882a6b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -1032,6 +1032,7 @@ class bug extends control
*/
public function batchAssignTo(string $assignedTo, int $objectID, string $type = 'execution')
{
$assignedTo = base64_decode($assignedTo);
if($this->post->bugIdList)
{
/* 获取指派给的 bug id 列表。 */
+1
View File
@@ -144,6 +144,7 @@ foreach($modules as $moduleID => $module)
$assignedToItems = array();
foreach ($memberPairs as $key => $value)
{
$key = base64_encode($key); // 编码用户名中的特殊字符
$assignedToItems[] = array('text' => $value, 'innerClass' => 'batch-btn ajax-btn not-open-url', 'data-url' => helper::createLink('bug', 'batchAssignTo', "assignedTo=$key&productID={$product->id}&type=product"));
}