Upload via GUI (364 Dateien)
This commit is contained in:
@@ -124,7 +124,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && ($_POST['action'] ?? '') === 'typin
|
||||
$stmt->execute(array_merge([$number], $deptFilterParams));
|
||||
$ticket = $stmt->fetch();
|
||||
if ($ticket && $ticket['status'] !== 'closed' && !lc_locked_by_other($ticket, $staff, $pdo)) {
|
||||
$pdo->prepare('UPDATE tickets SET typing_staff_until = ? WHERE id = ?')
|
||||
$pdo->prepare('UPDATE tickets SET typing_staff_until = ?, updated_at = updated_at WHERE id = ?')
|
||||
->execute([date('Y-m-d H:i:s', time() + 6), $ticket['id']]);
|
||||
}
|
||||
lc_json(['ok' => true]);
|
||||
|
||||
Reference in New Issue
Block a user