Solved issue

This commit is contained in:
Jose Gonzalez 2021-01-19 16:10:46 +01:00
parent 5a837c9aaa
commit c760a937ae
1 changed files with 1 additions and 1 deletions

View File

@ -4296,7 +4296,7 @@ sub on_demand_macro($$$$$$;$) {
if ($field_value eq ''){
$field_value = 'Module ' . $field_number . " not found";
}
elsif ($unit_mod ne '') {
elsif (defined($unit_mod) && $unit_mod ne '') {
$field_value .= $unit_mod;
}