projects
/
catagits/Reaction.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
bf9abce
)
minor fix for boolean fields
edenc [Fri, 14 Mar 2008 15:19:39 +0000 (15:19 +0000)]
lib/Reaction/UI/ViewPort/Field/Boolean.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Reaction/UI/ViewPort/Field/Boolean.pm
b/lib/Reaction/UI/ViewPort/Field/Boolean.pm
index
329ebde
..
cb6695e
100644
(file)
--- a/
lib/Reaction/UI/ViewPort/Field/Boolean.pm
+++ b/
lib/Reaction/UI/ViewPort/Field/Boolean.pm
@@
-6,7
+6,7
@@
use aliased 'Reaction::UI::ViewPort::Field';
class Boolean, is Field, which {
has '+value' => (isa => 'Bool');
- implements _empty_value => as { undef };
+ override _empty_string_value => sub { 0 };
};
1;