]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Request: Fehler in recode_recursively
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 12 Jan 2012 12:29:31 +0000 (13:29 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 12 Jan 2012 12:29:31 +0000 (13:29 +0100)
Fix zu Bug 1774.

SL/Request.pm

index d4f2d88501b43a99208ea032ae6f8f653c83490c..dab57457a062080ae32fa6302c9841e4a3b2c674 100644 (file)
@@ -165,7 +165,7 @@ sub _recode_recursively {
         # Workaround for a bug: converting $from->[$idx] directly
         # leads to 'undef'. I don't know why. Converting a copy works,
         # though.
-        $from->[$idx] = $iconv->convert("" . $from->[$idx]);
+        $to->[$idx] = $iconv->convert("" . $from->[$idx]);
       } else {
         $to->[$idx] ||= {} if 'HASH'  eq ref $from->[$idx];
         $to->[$idx] ||= [] if 'ARRAY' eq ref $from->[$idx];