currencies-popup angepasst
[kivitendo-erp.git] / bin / mozilla / ir.pl
index faaa3cc..9f40930 100644 (file)
@@ -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};