FIX dol_print_error parameters on ticket fetch method (#25318)

This commit is contained in:
lvessiller-opendsi 2023-07-12 14:32:45 +02:00 committed by GitHub
parent 53ebd4b255
commit 9044952f5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}