public function post_addItem() { $changes[0] = '0'; $changes[1] = ''; $changes[2] = sprintf(__('%1$s added closing informations', 'moreticket'), getUserName(Session::getLoginUserID())); Log::history($this->fields['tickets_id'], 'Ticket', $changes, 0, Log::HISTORY_LOG_SIMPLE_MESSAGE); parent::post_addItem(); }