diff options
author | Mark Wells <mark@freeside.biz> | 2013-04-26 17:01:50 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2013-04-26 17:01:50 -0700 |
commit | 42cb9f2b2935355862192c2de507efd824840411 (patch) | |
tree | 6820961678ae68d2c728b6acb5055da069681d5d /httemplate | |
parent | a1a0800de7c69fe5ee414b79e408ceacd4a1c2c3 (diff) |
fix an edge case involving select-tiered empty label, #22800
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/elements/select-tiered.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/elements/select-tiered.html b/httemplate/elements/select-tiered.html index 3ff5471ae..48469dc04 100644 --- a/httemplate/elements/select-tiered.html +++ b/httemplate/elements/select-tiered.html @@ -174,6 +174,8 @@ for( $i = 0; $i < @$tiers; $i++ ) { $children_of{$key}->{''} = $tier->{empty_label}; } } + # ensure that there's always at least one empty label + $children_of{''}->{''} = $tier->{empty_label}; } $tier->{by_key} = \%children_of; } |