Fix implicit cast.

This commit is contained in:
Markus Reiter 2022-07-15 03:29:16 +02:00 committed by GitHub
parent 5818919607
commit ca5d2f4990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ if ($stmt->fetch()) {
header('Content-Type: image/jpeg');
}
header('ETag: \'' . $thash . '\'');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $tlast / 1000) . ' GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', (int) ($tlast / 1000)) . ' GMT');
if (is_null($tnewimage)) {
echo $timage;
} else {