X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b161d667d1831bff8111fcec59dcc3a8059607dd..6318154749c0e0ea66c70a122622742a7d1c84cc:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 0ecb2219d..da4684358 100644 --- 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 }; } } }