ticketregel bugfix warteschlange 0

This commit is contained in:
OpenXE 2023-11-25 13:13:39 +01:00
parent d7db78489c
commit 22e411a6cc

View File

@ -204,12 +204,11 @@ class Ticket {
$sql = "UPDATE ticket SET status = '".$status."', zeit = NOW()";
if ($warteschlange != '') {
$sql .= ", warteschlange = '".explode(" ",$warteschlange)[0]."'";
$sql .= ", warteschlange = '".explode(" ",$warteschlange)[0]."'";
}
$sql .= " WHERE id IN (".implode(",",$selectedIds).")";
$this->app->DB->Update($sql);
$this->ticket_set_self_assigned_status($selectedIds);
break;
case 'spam_filter':
@ -253,7 +252,7 @@ class Ticket {
0,
0,
0,
0,
'',
1
)";
$this->app->DB->Insert($sql);