Upload via GUI (364 Dateien)
This commit is contained in:
@@ -27,6 +27,6 @@ if ($holderId !== (int) $staff['id']) {
|
||||
$n->execute([$holderId]);
|
||||
$name = (string) ($n->fetchColumn() ?: 'einem anderen Mitarbeiter');
|
||||
}
|
||||
$pdo->prepare('UPDATE tickets SET locked_by = NULL, locked_at = NULL WHERE id = ?')->execute([$ticket['id']]);
|
||||
$pdo->prepare('UPDATE tickets SET locked_by = NULL, locked_at = NULL, updated_at = updated_at WHERE id = ?')->execute([$ticket['id']]);
|
||||
log_activity($pdo, (int) $ticket['id'], (int) $staff['id'], $name !== '' ? "Sperre von \"{$name}\" durch Admin aufgehoben" : 'Sperre manuell aufgehoben');
|
||||
api_json(['ok' => true, 'unlocked' => true]);
|
||||
|
||||
Reference in New Issue
Block a user