Fix implicit cast.

This commit is contained in:
Markus Reiter 2022-07-15 03:30:26 +02:00 committed by GitHub
parent 6ed892d806
commit c681752c33

View file

@ -99,7 +99,7 @@ if ($res && $timage) {
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');
echo stream_get_contents($timage);
} else {
header('Location: ../images/blank.png');