Skip to content

Commit

Permalink
FIX dol_print_error parameters on ticket fetch method (#25318)
Browse files Browse the repository at this point in the history
  • Loading branch information
lvessiller-opendsi authored Jul 12, 2023
1 parent 53ebd4b commit 9044952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/ticket/class/ticket.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ public function fetch($id = '', $ref = '', $track_id = '', $email_msgid = '')
// 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;
}

Expand Down

0 comments on commit 9044952

Please sign in to comment.