Upload via GUI (396 Dateien)

This commit is contained in:
2026-11-04 07:55:30 +00:00
parent b207fa4944
commit 65d42108db
9 changed files with 1172 additions and 768 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ $siteName = get_setting('display_name', config()['site']['name'] ?? 'DeskHub');
$isStaff = $msg['author_type'] === 'staff';
$author = $isStaff ? ($msg['staff_name'] ?? 'Mitarbeiter') : ($msg['user_name'] ?? $ticket['requester_name']);
$body = $msg['message'] ?? '';
$isHtml = preg_match('/<[a-zA-Z][^>]*>/i', $body);
$isHtml = message_is_html($body);
$attStmt->execute([$msg['id']]);
$atts = $attStmt->fetchAll();