Wechselkurse werden im footer nicht angezeigt.
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 1 Mar 2011 14:50:29 +0000 (15:50 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 8 Mar 2011 13:18:47 +0000 (14:18 +0100)
bin/mozilla/is.pl

index e1076ef..9f57eab 100644 (file)
@@ -332,7 +332,7 @@ sub form_header {
   my @values = map { $_       } @{ $form->{ALL_CURRENCIES} };
   my %labels = map { $_ => $_ } @{ $form->{ALL_CURRENCIES} };
   $form->{currency}            = $form->{defaultcurrency} unless $form->{currency};
-  $TMPL_VAR{show_exchangerate} = $form->{currency} ne $form->{defaultcurrency};
+  $form->{show_exchangerate}   = $form->{currency} ne $form->{defaultcurrency};
   $TMPL_VAR{currencies}        = NTI($::cgi->popup_menu('-name' => 'currency', '-default' => $form->{"currency"},
                                                       '-values' => \@values, '-labels' => \%labels)) if scalar @values;
   push @custom_hiddens, "forex";