From 8e02c21a36e3d501f1c990f5fb7701a9b292781d Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Fri, 15 Jul 2022 03:30:26 +0200 Subject: [PATCH] Fix implicit cast. --- .../resources/extracted/web/standalone/PostgreSQL_tiles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DynmapCore/src/main/resources/extracted/web/standalone/PostgreSQL_tiles.php b/DynmapCore/src/main/resources/extracted/web/standalone/PostgreSQL_tiles.php index 5afd0338..b95d00cd 100644 --- a/DynmapCore/src/main/resources/extracted/web/standalone/PostgreSQL_tiles.php +++ b/DynmapCore/src/main/resources/extracted/web/standalone/PostgreSQL_tiles.php @@ -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');