minor fix - error messages

This commit is contained in:
fbsanchez 2020-09-08 11:51:17 +02:00
parent 958c485f9d
commit 597e2b057d

View File

@ -1366,6 +1366,8 @@ sub db_concat ($$) {
sub get_priority_name ($) { sub get_priority_name ($) {
my ($priority_id) = @_; my ($priority_id) = @_;
return '' unless defined($priority_id);
if ($priority_id == 0) { if ($priority_id == 0) {
return 'Maintenance'; return 'Maintenance';
} }