From: Sven Schöling Date: Thu, 12 Jan 2012 12:29:31 +0000 (+0100) Subject: Request: Fehler in recode_recursively X-Git-Tag: release-2.7.0beta1~60 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=40d21a2dbba64bb087ff7bd2781ed1a0707add1c;p=kivitendo-erp.git Request: Fehler in recode_recursively Fix zu Bug 1774. --- diff --git a/SL/Request.pm b/SL/Request.pm index d4f2d8850..dab57457a 100644 --- a/SL/Request.pm +++ b/SL/Request.pm @@ -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];