Skip to content

Commit

Permalink
Merge pull request #78 from vlakoff/form-builder
Browse files Browse the repository at this point in the history
Don't double escape in Form::option()
  • Loading branch information
adamgoose committed Sep 3, 2015
2 parents 7ea28ee + 7c02a4f commit 8b7c357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FormBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ protected function option($display, $value, $selected)
{
$selected = $this->getSelectedValue($value, $selected);

$options = ['value' => e($value), 'selected' => $selected];
$options = ['value' => $value, 'selected' => $selected];

return '<option' . $this->html->attributes($options) . '>' . e($display) . '</option>';
}
Expand Down

0 comments on commit 8b7c357

Please sign in to comment.