X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FRequest.pm;h=f72694d1c53a8981691f4c6f2f2d629aac475280;hb=46efaf453010f2744b53ff402b9691d2cd2382ec;hp=37009218e2bd56f242ed873cc6724e77a8dec576;hpb=7c21539153d43f09a72398d77d07ebc302a6fd9d;p=kivitendo-erp.git 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];