From 37dae3d103a80cd6f204d498bb3251d967a32b26 Mon Sep 17 00:00:00 2001 From: Dominic Springer Date: Sun, 4 Oct 2026 21:38:01 +0200 Subject: [PATCH] Fix PHP 8 stats timestamp --- intern/statistik/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intern/statistik/index.php b/intern/statistik/index.php index fe15ede..65ff087 100644 --- a/intern/statistik/index.php +++ b/intern/statistik/index.php @@ -130,7 +130,7 @@ if ($httpKey !== '') { $players = (int) ($playerStats['total_players'] ?? 0); $today = gmdate('Y-m-d'); $activeToday = (int) (($playerStats['daily_active'] ?? [])[$today] ?? 0); -$updatedAt = isset($playerStats['updated_at']) ? date('d.m.Y H:i', (int) $playerStats['updated_at'] / 1000) : 'Noch keine Daten'; +$updatedAt = isset($playerStats['updated_at']) ? date('d.m.Y H:i', intdiv((int) $playerStats['updated_at'], 1000)) : 'Noch keine Daten'; ?> Void Bastion – Interne Statistik