projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15f021a
)
Request: Fehler in recode_recursively
author
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 12 Jan 2012 12:29:31 +0000
(13:29 +0100)
committer
Sven 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
patch
|
blob
|
history
diff --git
a/SL/Request.pm
b/SL/Request.pm
index
d4f2d88
..
dab5745
100644
(file)
--- 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];