projects
/
catagits/Reaction.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
work in progress, listview still broken
[catagits/Reaction.git]
/
lib
/
Reaction
/
UI
/
ViewPort
/
Field
/
Mutable
/
Array.pm
diff --git
a/lib/Reaction/UI/ViewPort/Field/Mutable/Array.pm
b/lib/Reaction/UI/ViewPort/Field/Mutable/Array.pm
index
7fa3118
..
49e629b
100644
(file)
--- a/
lib/Reaction/UI/ViewPort/Field/Mutable/Array.pm
+++ b/
lib/Reaction/UI/ViewPort/Field/Mutable/Array.pm
@@
-9,7
+9,7
@@
class Array is 'Reaction::UI::ViewPort::Field::Array', which {
my $orig = shift;
my $self = shift;
return $orig->($self) unless @_;
- my $value = defined $_[0] ? $_[0] || [];
+ my $value = defined $_[0] ? $_[0] : [];
$orig->($self, (ref $value eq 'ARRAY' ? $value : [ $value ]));
$self->sync_to_action;
};