Skip to content

Commit

Permalink
bugfix: clear resolvetime for re-opened tickets (LMS+ fixes #2312)
Browse files Browse the repository at this point in the history
  • Loading branch information
chilek committed Jul 12, 2023
1 parent 25cf463 commit 2ea7db9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/LMSManagers/LMSHelpdeskManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -1919,12 +1919,15 @@ public function TicketChange($ticketid, array $props)
'UPDATE rttickets SET queueid = ?, owner = ?, cause = ?, state = ?, modtime = ?, subject = ?,
customerid = ?, source = ?, priority = ?, address_id = ?, nodeid = ?, netnodeid = ?, netdevid = ?,
verifierid = ?, verifier_rtime = ?, deadline = ?, service = ?, type = ?, invprojectid = ?,
requestor_userid = ?, requestor = ?, requestor_mail = ?, requestor_phone = ?, parentid = ? WHERE id = ?',
requestor_userid = ?, requestor = ?, requestor_mail = ?, requestor_phone = ?, parentid = ?,
resolvetime = ?
WHERE id = ?',
array(
$props['queueid'], $props['owner'], $props['cause'], $props['state'], $modtime, $props['subject'],
$props['customerid'], $props['source'], $props['priority'], $props['address_id'], $props['nodeid'], $props['netnodeid'], $props['netdevid'],
$props['verifierid'], $props['verifier_rtime'], $props['deadline'], $props['service'], $props['type'], $props['invprojectid'],
$props['requestor_userid'], $props['requestor'], $props['requestor_mail'], $props['requestor_phone'], $props['parentid'],
0,
$ticketid
)
);
Expand Down

0 comments on commit 2ea7db9

Please sign in to comment.