Upload via GUI (275 Dateien)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user