Don't double escape in Form::option()

html->attributes() already does the escaping.
This commit is contained in:
vlakoff committed 2015-09-03 09:48:35 +02:00
1 parent fb7693cf4b
commit 7c02a4f0fd
1 file changed
+1 -1
+1 -1
View File
@@ -624,7 +624,7 @@ class FormBuilder {
{
$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>';
}