* [bug] fix batchAssign bug.
This commit is contained in:
@@ -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 列表。 */
|
||||
|
||||
@@ -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"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user