fix size data type conversion

This commit is contained in:
yggverse 2024-04-01 15:48:39 +03:00
parent 231b7be50d
commit f8c8aacf95

View File

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