Upload via GUI (364 Dateien)

This commit is contained in:
2026-11-01 11:15:44 +00:00
parent 9b1b7c0d6e
commit aeae758b4d
2 changed files with 17 additions and 2 deletions
+1 -1
View File
@@ -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]);