Skip Menu |

This queue is for tickets about the Tk-Wizard CPAN distribution.

Report information
The Basics
Id: 53740
Status: resolved
Priority: 0/
Queue: Tk-Wizard

People
Owner: Nobody in particular
Requestors: MTHURN [...] cpan.org
Cc:
AdminCc:

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



Subject: can not use -value=>0 on singleChoicePage
Can not use 0 (zero) as one of the values in a singleChoicePage because of a bug: Line 92 of Tk/Wizard/Choices.pm says my $sValue = $opt->{-value} || $opt->{-title}; Perhaps something like the following would be better? my $sValue = defined($opt->{-value}) ? $opt->{-value} : $opt->{-title}; -- - - Martin 'Kingpin' Thurn
Thanks for the patch - in the next release. -- lgoddard at cpan org http://www.LeeGoddard.net