[edit] strval

This commit is contained in:
bvbej 2022-01-11 14:19:32 +08:00
parent 050d251dde
commit 3cae5d7eb1

View File

@ -112,7 +112,7 @@ class BvBeJHandle
ksort($form); ksort($form);
$singArr = []; $singArr = [];
foreach ($form as $k => $v) { foreach ($form as $k => $v) {
$singArr[urlencode($k)] = urlencode($v); $singArr[urlencode(strval($k))] = urlencode(strval($v));
} }
$sign = http_build_query($singArr); $sign = http_build_query($singArr);
try { try {