fix: address code review issues - bind_param types, path ltrim, secrets sanitization
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/5bfe8731-c37a-4f7b-a5c7-fbc0393ae134 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
0fcdda2ee3
commit
5766b86034
3 changed files with 8 additions and 4 deletions
|
|
@ -340,7 +340,7 @@ class BillingRepository
|
|||
$rawJson = substr($rawJson, 0, 65536) . '…[truncated]';
|
||||
}
|
||||
$stmt->bind_param(
|
||||
'sssssssss',
|
||||
'ssssssiis',
|
||||
$context, $errorCode, $message, $debugId, $orderId, $captureId,
|
||||
$billingOrderId, $userId, $rawJson
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue