Upload via GUI (396 Dateien)
This commit is contained in:
@@ -40,8 +40,9 @@ $threadStmt = $pdo->prepare(
|
||||
ORDER BY tt.created_at ASC, tt.id ASC'
|
||||
);
|
||||
$threadStmt->execute([$ticket['id']]);
|
||||
// Eingebettete Bilder einer Mail (Logos, Fotos im Text) gehören zur Darstellung der Nachricht und sind keine Anhänge
|
||||
$attachmentStmt = $pdo->prepare(
|
||||
'SELECT id, original_name, filesize FROM ticket_attachments WHERE thread_id = ? ORDER BY id'
|
||||
'SELECT id, original_name, filesize FROM ticket_attachments WHERE thread_id = ?' . (ticket_mail_html_ready($pdo) ? ' AND COALESCE(is_inline, 0) = 0' : '') . ' ORDER BY id'
|
||||
);
|
||||
$commentStmt = $pdo->prepare(
|
||||
'SELECT tc.id, tc.message, tc.created_at, s.id AS staff_id, s.name AS staff_name
|
||||
@@ -88,6 +89,8 @@ if ($ticket['source'] === 'chat' && $ticket['status'] !== 'closed') {
|
||||
}
|
||||
}
|
||||
|
||||
ticket_ack($pdo, (int) $ticket['id'], (int) $staff['id']); // gesehen: verschwindet aus dem Zähler der Apps
|
||||
|
||||
$summary = api_ticket_summary($ticket);
|
||||
$summary['source'] = $ticket['source'];
|
||||
$summary['firstResponseDueAt'] = $ticket['first_response_due_at'];
|
||||
|
||||
Reference in New Issue
Block a user