flashii/eeprom
Archived
3
0
Fork 1

Fixed type issue.

This commit is contained in:
flash 2025-03-23 02:30:15 +00:00
parent 8856ce4915
commit a63dd6ee21
Signed by: flash
GPG key ID: 2C9C2C574D47FE3E

View file

@ -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);