Skip to content
Snippets Groups Projects
Unverified Commit 82989ba2 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Services.pm.PL: Handle transport-apis definitions without mot names

parent 42727cb8
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,12 @@ sub load_instance {
for ( 1 .. $skipped ) {
push( @{ $ret{productbits} }, [ "_", undef ] );
}
push( @{ $ret{productbits} }, [ $p->{id}, $p->{name} ] );
if ( $p->{name} ) {
push( @{ $ret{productbits} }, [ $p->{id}, $p->{name} ] );
}
else {
push( @{ $ret{productbits} }, $p->{id} );
}
}
else {
$skipped += 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment