From 7a67dd8b823482a2499edbdfcb24dce64451fe07 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Mon, 30 Sep 2024 07:21:57 +0000 Subject: [PATCH] * [bug] fix base64 bug. --- module/bug/ui/browse.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/ui/browse.html.php b/module/bug/ui/browse.html.php index e38d01dacb..4144e60403 100644 --- a/module/bug/ui/browse.html.php +++ b/module/bug/ui/browse.html.php @@ -144,7 +144,7 @@ foreach($modules as $moduleID => $module) $assignedToItems = array(); foreach ($memberPairs as $key => $value) { - $key = base64_encode($key); // 编码用户名中的特殊字符 + $key = base64_encode((string)$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")); }