Skip Menu |

This queue is for tickets about the CGI-FormBuilder CPAN distribution.

Report information
The Basics
Id: 31127
Status: resolved
Priority: 0/
Queue: CGI-FormBuilder

People
Owner: Nobody in particular
Requestors: ilmari.vacklin [...] cs.helsinki.fi
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: $form->fieldset(name => label) doesn't work due to wrong check
Date: Sat, 1 Dec 2007 15:20:01 +0200
To: bug-CGI-FormBuilder [...] rt.cpan.org
From: Ilmari Vacklin <ilmari.vacklin [...] cs.helsinki.fi>
The POD says that the following should work: $form->fieldset(name => label); However, in sub fieldsets (which fieldset is aliased to), the code for this case is under the following check: elsif (@_ % 2) { which is run after $self has already been shifted off @_. The fix is probably just to invert the test. -- Ilmari Vacklin
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

I appreciate this bug report - if this is still an issue, please re-file it at: https://github.com/formbuilder/formbuilder/issues