]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Form.pm
Verwendung von benutzerdefinierten Variablen für Waren/Dienstleistungen/Erzegunisse...
[mfinanz.git] / SL / Form.pm
index 9a7c9e1759673c8474dd9ff27aef30d5c6e9aa70..e7ee2b216db2079ba98e1d4e364c89a2e17b124a 100644 (file)
@@ -57,6 +57,7 @@ use SL::Template;
 use SL::User;
 use Template;
 use List::Util qw(first max min sum);
+use List::MoreUtils qw(any);
 
 my $standard_dbh;
 
@@ -255,7 +256,7 @@ sub _recode_recursively {
   $main::lxdebug->enter_sub();
   my ($iconv, $param) = @_;
 
-  if (ref $param eq 'HASH') {
+  if (any { ref $param eq $_ } qw(Form HASH)) {
     foreach my $key (keys %{ $param }) {
       if (!ref $param->{$key}) {
         $param->{$key} = $iconv->convert($param->{$key});
@@ -1354,6 +1355,7 @@ Content-Length: $numbytes
 
         while (<IN>) {
           print OUT $_;
+
         }
 
         close(OUT);