mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-27 20:58:40 +01:00
Fix implicit cast.
This commit is contained in:
parent
ca5d2f4990
commit
8e02c21a36
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user