projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Form::flatten_variables: Array Serialisierung gefixt
[kivitendo-erp.git]
/
SL
/
Form.pm
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
0ecb221
..
da46843
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-150,7
+150,7
@@
sub _flatten_variables_rec {
$first_array_entry = 0;
}
} else {
-
@result = ({ 'key' => $prefix . $key . ($first_array_entry ? '[+]' : '[]'), 'value' => $element })
;
+
push @result, { 'key' => $prefix . $key . '[]', 'value' => $element }
;
}
}
}