diff options
author | matthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-02-27 20:11:12 +0000 |
---|---|---|
committer | matthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-02-27 20:11:12 +0000 |
commit | 384a99858802ee0569ba621c2162c15501c8e94e (patch) | |
tree | 2f869cbd8c12cef087cf79adeaf728a7bd723874 /lib/Reaction/UI/ViewPort/Field/Mutable | |
parent | 24185a7d1e90ac8980462b9f471e016504d73e3c (diff) | |
download | reaction-384a99858802ee0569ba621c2162c15501c8e94e.tar.gz reaction-384a99858802ee0569ba621c2162c15501c8e94e.zip |
- fix default handling for Mutable::Boolean
Diffstat (limited to 'lib/Reaction/UI/ViewPort/Field/Mutable')
-rw-r--r-- | lib/Reaction/UI/ViewPort/Field/Mutable/Boolean.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Reaction/UI/ViewPort/Field/Mutable/Boolean.pm b/lib/Reaction/UI/ViewPort/Field/Mutable/Boolean.pm index 633f910..dfd936e 100644 --- a/lib/Reaction/UI/ViewPort/Field/Mutable/Boolean.pm +++ b/lib/Reaction/UI/ViewPort/Field/Mutable/Boolean.pm @@ -12,7 +12,7 @@ class Boolean is 'Reaction::UI::ViewPort::Field::Boolean', which{ implements BUILD => as { my($self) = @_; - $self->value(0) unless $self->has_value; + $self->value(0) unless $self->_model_has_value; }; }; |