diff --git a/include/class.ticket.php b/include/class.ticket.php index 8890cfb9f1329c5ff7465d64a13c15e01d244031..de9760972139519c7de6e7b87180e04728709b03 100644 --- a/include/class.ticket.php +++ b/include/class.ticket.php @@ -1358,7 +1358,7 @@ implements RestrictedAccess, Threadable, Searchable { $this->clearOverdue(false); $ecb = function($t) use ($status) { - $t->logEvent('closed', array('status' => array($status->getId(), $status->getName()))); + $t->logEvent('closed', array('status' => array($status->getId(), $status->getName())), null, 'closed'); $t->deleteDrafts(); }; break;