Upload via GUI (275 Dateien)

This commit is contained in:
2026-10-23 11:14:31 +00:00
parent a96fed78b4
commit 73bb587197
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -27,6 +27,7 @@ if ($ticket['source'] !== 'chat') {
$ticketLockedBy = $lockedByName;
} else {
ticket_acquire_lock((int) $ticket['id'], (int) $staff['id'], $pdo);
ticket_assign_on_open($pdo, $ticket, $staff); // unzugewiesenes Ticket wird dem öffnenden Mitarbeiter zugewiesen
}
}
@@ -83,6 +84,7 @@ if ($ticket['source'] === 'chat' && $ticket['status'] !== 'closed') {
$lockedByOtherName = live_chat_locked_by_other($ticket, (int) $staff['id'], $pdo);
if (!$lockedByOtherName) {
live_chat_acquire_lock((int) $ticket['id'], (int) $staff['id'], $pdo);
ticket_assign_on_open($pdo, $ticket, $staff);
}
}