diff --git a/htdocs/ticket/class/ticket.class.php b/htdocs/ticket/class/ticket.class.php index cbb2e04fcf7..43136c50ec2 100644 --- a/htdocs/ticket/class/ticket.class.php +++ b/htdocs/ticket/class/ticket.class.php @@ -557,7 +557,7 @@ class Ticket extends CommonObject // Check parameters if (empty($id) && empty($ref) && empty($track_id) && empty($email_msgid)) { $this->error = 'ErrorWrongParameters'; - dol_print_error(get_class($this)."::fetch ".$this->error); + dol_print_error('', get_class($this)."::fetch ".$this->error); return -1; }