mirror of
https://github.com/YGGverse/Yo.git
synced 2025-01-13 16:27:54 +00:00
fix size data type conversion
This commit is contained in:
parent
231b7be50d
commit
f8c8aacf95
@ -298,6 +298,10 @@ foreach($index->search('')
|
||||
// Update size or skip on empty
|
||||
if ($size = curl_getinfo($request, CURLINFO_SIZE_DOWNLOAD))
|
||||
{
|
||||
$size = round( // float
|
||||
$size
|
||||
);
|
||||
|
||||
$data['size'] = $size;
|
||||
|
||||
} else continue;
|
||||
|
Loading…
Reference in New Issue
Block a user