Upload via GUI (278 Dateien)

This commit is contained in:
2026-10-21 16:44:55 +00:00
parent 30df645ca9
commit 39c0a19cf7
6 changed files with 67 additions and 11 deletions
+1
View File
@@ -168,6 +168,7 @@ function chat_any_staff_available(PDO $pdo): bool
// die eine fehlende Zeile ebenfalls als "Offline" behandelt – sonst würde der Chat
// "online" anzeigen, obwohl kein einziger Mitarbeiter seinen Status je auf
// "Verfügbar" gestellt hat.
staff_run_auto_offline($pdo); // Wer lange inaktiv war, gilt nicht mehr als erreichbar
$stmt = $pdo->query(
"SELECT COUNT(*) FROM staff s
INNER JOIN staff_availability sa ON sa.staff_id = s.id