Upload via GUI (396 Dateien)

This commit is contained in:
2026-11-04 07:55:51 +00:00
parent d1aae0f2ce
commit fad8536292
5 changed files with 17 additions and 6 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ $siteName = get_setting('display_name', config()['site']['name'] ?? 'DeskHub');
$isStaff = $msg['author_type'] === 'staff';
$author = $isStaff ? ($msg['staff_name'] ?? 'Support') : ($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();
?>