FilterEditor: readability

This commit is contained in:
Thomas Gelf 2014-11-15 23:31:17 +01:00
parent 4a38c069f3
commit d6e3f06997
1 changed files with 5 additions and 1 deletions

View File

@ -114,7 +114,11 @@ class FilterEditor extends AbstractWidget
} else {
$attributes = $view->propertiesToString($attributes);
}
$html = '<select name="' . $view->escape($name) . '"' . $attributes . ' class="autosubmit">' . "\n";
$html = sprintf(
'<select name="%s"%s class="autosubmit">' . "\n",
$view->escape($name),
$attributes
);
asort($list);
foreach ($list as $k => $v) {