aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 27764c82..f0ca57bc 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -152,8 +152,8 @@ sub get_string_from_keywords {
my ($medium, $name) = @_;
my @media_types;
if ($medium->{mediacfg}) {
- my ($distribconf, $medium_name) = @{$medium->{mediacfg}};
- @media_types = split(':', $distribconf->getvalue($medium_name, 'media_type')) if $distribconf;
+ my ($distribconf, $medium_path) = @{$medium->{mediacfg}};
+ @media_types = split(':', $distribconf->getvalue($medium_path, 'media_type')) if $distribconf;
}
my $unsupported = N("It is <b>not supported</b> by Mageia.");