aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/formatting.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/formatting.pm')
-rw-r--r--Rpmdrake/formatting.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm
index 8c2f7f0c..6e4e0dc7 100644
--- a/Rpmdrake/formatting.pm
+++ b/Rpmdrake/formatting.pm
@@ -100,7 +100,7 @@ sub pkg2medium {
my ($p, $urpm) = @_;
return if !ref $p;
return { name => N("None (installed)") } if !defined($p->id); # if installed
- URPM::pkg2media($urpm->{media}, $p) || undef;
+ URPM::pkg2media($urpm->{media}, $p) || { name => N("Unknown"), fake => 1 };
}
# [ duplicate urpmi's urpm::msg::localtime2changelog() ]