[Bps-public-commit] r12900 - in RT-FormTools: .
falcone at bestpractical.com
falcone at bestpractical.com
Wed Jun 4 17:53:37 EDT 2008
Author: falcone
Date: Wed Jun 4 17:53:37 2008
New Revision: 12900
Modified:
RT-FormTools/ (props changed)
RT-FormTools/html/FormTools/Form
Log:
r33807 at ketch: falcone | 2008-06-04 17:53:33 -0400
* fix accidental commits which wants to skip non-array refs, but still
let scalars through
Modified: RT-FormTools/html/FormTools/Form
==============================================================================
--- RT-FormTools/html/FormTools/Form (original)
+++ RT-FormTools/html/FormTools/Form Wed Jun 4 17:53:37 2008
@@ -32,7 +32,7 @@
<%$content|n%>
% foreach my $key (keys %request_args) {
-% next if (ref $request_args{$key} ne 'ARRAY');
+% next if (ref $request_args{$key} && ref $request_args{$key} ne 'ARRAY');
% foreach my $val ( ref ($request_args{$key}) ? @{$request_args{$key}} : ($request_args{$key})) {
<input type="hidden" name="<%$key%>" value="<%$val%>" />
More information about the Bps-public-commit
mailing list