From 01a6bf1b55f003fb6f15a70acf51d3e921af7244 Mon Sep 17 00:00:00 2001 From: Thomas Kasulke Date: Fri, 27 Apr 2007 11:54:00 +0000 Subject: [PATCH] currencies-popup angepasst --- bin/mozilla/ir.pl | 5 +++-- bin/mozilla/is.pl | 4 ++-- bin/mozilla/oe.pl | 5 +++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index faaa3cc64..9f40930e8 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -301,9 +301,10 @@ sub form_header { %labels = (); @values = (); + my $i = 0; foreach my $item (@{ $form->{"ALL_CURRENCIES"} }) { - push(@values, $item->{"currency"}); - $labels{$item->{"currency"}} = $item->{"currency"}; + push(@values, $item); + $labels{$item} = $item; } $form->{currency} = $form->{defaultcurrency} unless $form->{currency}; diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 59d4b4790..6ecad0078 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -369,8 +369,8 @@ sub form_header { %labels = (); @values = (); foreach my $item (@{ $form->{"ALL_CURRENCIES"} }) { - push(@values, $item->{"currency"}); - $labels{$item->{"currency"}} = $item->{"currency"}; + push(@values, $item); + $labels{$item} = $item; } $form->{currency} = $form->{defaultcurrency} unless $form->{currency}; diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index bdb6946cb..6c7cb6569 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -502,9 +502,10 @@ sub form_header { %labels = (); @values = (); + my $i = 0; foreach my $item (@{ $form->{"ALL_CURRENCIES"} }) { - push(@values, $item->{"currency"}); - $labels{$item->{"currency"}} = $item->{"currency"}; + push(@values, $item); + $labels{$item} = $item; } $form->{currency} = $form->{defaultcurrency} unless $form->{currency}; -- 2.20.1