Skip to content

Commit

Permalink
Item9647: some cleanup
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@14247 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Mar 8, 2012
1 parent f0288e3 commit edbe6aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/lib/Foswiki/Form/Select.pm
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ sub renderForEdit {
my $choices = '';

my %isSelected = map { $_ => 1 } split( /\s*,\s*/, $value );
foreach my $item ( @{ $this->getOptions() } ) {
my $option = $item;
foreach my $option ( @{ $this->getOptions() } ) {
my %params = ( class => 'foswikiOption', );
$params{selected} = 'selected' if $isSelected{$option};
if ( $this->{_descriptions}{$option} ) {
Expand Down

0 comments on commit edbe6aa

Please sign in to comment.