summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mgaonline.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/mgaonline.pm b/mgaonline.pm
index 9c407deb..62b7fe4a 100644
--- a/mgaonline.pm
+++ b/mgaonline.pm
@@ -140,15 +140,15 @@ sub fork_exec {
}
sub translate_product {
- my ($product) = @_;
+ my ($o_product) = @_;
my %strings = (
flash => N("Mageia Flash"),
free => N("Mageia Free"),
mini => N("Mageia Mini"),
one => N("Mageia One"),
);
- $product ||= lc $product_id->{product};
- $strings{$product} || $product;
+ $o_product ||= lc $product_id->{product};
+ $strings{$o_product} || $o_product;
}
# TODO Move all product.id handling to a separate module