Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 6, 2011
1 parent 2b98959 commit 7431812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojolicious/Plugin/TagHelpers.pm
Expand Up @@ -165,10 +165,10 @@ sub register {

# OptGroup
if (ref $o eq 'HASH') {
my ($key, $values) = each %$o;
my ($label, $values) = each %$o;
$parts .= $self->_tag(
'optgroup',
label => $key,
label => $label,
sub {
join '', map { $cb->($_) } @$values;
}
Expand Down

0 comments on commit 7431812

Please sign in to comment.