From 9044952f5c2b2d8a84fb5dab15cf7facd29f7de3 Mon Sep 17 00:00:00 2001 From: lvessiller-opendsi Date: Wed, 12 Jul 2023 14:32:45 +0200 Subject: [PATCH] FIX dol_print_error parameters on ticket fetch method (#25318) --- htdocs/ticket/class/ticket.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }