From f620f20d35085ae7a392b3d2762655d5a790616a Mon Sep 17 00:00:00 2001 From: Niek Rabelink Date: Sat, 12 Sep 2026 11:19:03 +0200 Subject: [PATCH] Error 500 fix --- config/database.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/database.php b/config/database.php index e979292..b8b32a1 100644 --- a/config/database.php +++ b/config/database.php @@ -240,6 +240,10 @@ function ensure_tables_exist(PDO $pdo): void { } } } + } catch (Throwable $e) { + // Stil negeren indien borden tabel nog niet bestaat + } + // Zorg dat eerdere audit logs die in UTC (+00:00) zijn weggeschreven worden gesynchroniseerd naar Europe/Amsterdam (+2 uur) try { $stmtCheck = $pdo->query("SELECT setting_value FROM system_settings WHERE setting_key = 'audit_logs_tz_fixed' LIMIT 1"); -- 2.52.0