diff options
author | wreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-02-21 19:39:36 +0000 |
---|---|---|
committer | wreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-02-21 19:39:36 +0000 |
commit | 642eb116a980729b37cb409094a94f9f6f39458c (patch) | |
tree | dd2abda83b503513eee18d2c405448397afdfe07 | |
parent | baee102d2189942f509b43d703d74e4e21c64403 (diff) | |
download | reaction-642eb116a980729b37cb409094a94f9f6f39458c.tar.gz reaction-642eb116a980729b37cb409094a94f9f6f39458c.zip |
allowing empty label in grid->header
-rw-r--r-- | lib/Reaction/UI/ViewPort/Collection/Grid.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Reaction/UI/ViewPort/Collection/Grid.pm b/lib/Reaction/UI/ViewPort/Collection/Grid.pm index c9fc2f1..be24cef 100644 --- a/lib/Reaction/UI/ViewPort/Collection/Grid.pm +++ b/lib/Reaction/UI/ViewPort/Collection/Grid.pm @@ -48,7 +48,7 @@ sub _build_field_labels { my $self = shift; my %labels = %{$self->_raw_field_labels}; for my $field ( @{$self->computed_field_order}) { - next if $labels{$field}; + next if defined $labels{$field}; $labels{$field} = join(' ', map{ ucfirst } split('_', $field)); } return \%labels; |