diff options
-rwxr-xr-x | Rpmdrake/formatting.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm index 5c404b0c..2987a7fb 100755 --- a/Rpmdrake/formatting.pm +++ b/Rpmdrake/formatting.pm @@ -77,6 +77,7 @@ sub urpm_name { sub pkg2medium { my ($p, $urpm) = @_; my $id = $p->id; + return { name => N("None") } if !$id; foreach (@{$urpm->{media}}) { !$_->{ignore} && $id >= $_->{start} && $id <= $_->{end} and return $_; } |