X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/7c21539153d43f09a72398d77d07ebc302a6fd9d..683dc060694a0bef44963a37577094de95f1278a:/SL/Request.pm diff --git a/SL/Request.pm b/SL/Request.pm index 37009218e..f72694d1c 100644 --- a/SL/Request.pm +++ b/SL/Request.pm @@ -251,7 +251,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. - $to->[$idx] = $iconv->convert("" . $from->[$idx]); + $to->[$idx] = $iconv->convert("" . $from->[$idx]) if defined $from->[$idx] && !defined $to->[$idx]; } else { $to->[$idx] ||= {} if 'HASH' eq ref $from->[$idx]; $to->[$idx] ||= [] if 'ARRAY' eq ref $from->[$idx];