]> wagnertech.de Git - kivitendo-erp.git/blobdiff - bin/mozilla/oe.pl
currencies-popup angepasst
[kivitendo-erp.git] / bin / mozilla / oe.pl
index bdb6946cb8501e54c7c6ef181a820c3cfdc3bcc1..6c7cb6569dfeb6de5731215c107013d56fde25d5 100644 (file)
@@ -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};