Skip to content

Commit

Permalink
Use trigger_error() to be able to get trace in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne authored and trasher committed Mar 19, 2021
1 parent 8cdf3a3 commit eb5097d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/commonitilobject.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -7947,7 +7947,7 @@ public function getTemplateFieldName($type = null) :string {

default:
$field = '';
Toolbox::logError('Missing type for Ticket template!');
trigger_error('Missing type for Ticket template!', E_USER_WARNING);
break;
}
}
Expand Down

0 comments on commit eb5097d

Please sign in to comment.