Skip to content
Snippets Groups Projects
Commit e24e18fb authored by Anthony Lawrence's avatar Anthony Lawrence
Browse files

Fixes #1736 - tickets now have their overdue status cleared when it is closed....

Fixes #1736 - tickets now have their overdue status cleared when it is closed. It uses the inbuilt clearOverdue method to ensure it is done properly, rather than setting isoverdue=0
parent f9547ed3
No related branches found
No related tags found
No related merge requests found
......@@ -847,6 +847,7 @@ class Ticket {
$sql.=', closed=NOW(), duedate=NULL ';
if ($thisstaff && $set_closing_agent)
$sql.=', staff_id='.db_input($thisstaff->getId());
$this->clearOverdue();
$ecb = function($t) {
$t->reload();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment