Fixed type issue.
This commit is contained in:
parent
8856ce4915
commit
a63dd6ee21
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ class UploadsData {
|
|||
$secret ??= XString::random(4);
|
||||
|
||||
$stmt = $this->cache->get('INSERT INTO prm_uploads (upload_id, pool_id, user_id, upload_secret, upload_name, upload_ip, upload_created) VALUES (?, ?, ?, ?, ?, INET6_ATON(?), FROM_UNIXTIME(?))');
|
||||
$stmt->nextParameter($uploadId);
|
||||
$stmt->nextParameter((string)$uploadId);
|
||||
$stmt->nextParameter($poolInfo instanceof PoolInfo ? $poolInfo->id : $poolInfo);
|
||||
$stmt->nextParameter($userId);
|
||||
$stmt->nextParameter($secret);
|
||||
|
|
Reference in a new issue