@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | case 'radio': |
| 24 | 24 | echo "<label>{$option->name}</label>"; |
| 25 | 25 | foreach ($option->items as $item) { |
| 26 | - $this->widget('Ui\Form/' . $option->type, [ |
|
| 26 | + $this->widget('Ui\Form/'.$option->type, [ |
|
| 27 | 27 | 'label' => $item->name, |
| 28 | 28 | 'name' => "filters[options][{$option->id}]", |
| 29 | 29 | !empty($_GET['filters']['options'][$option->id]) && $_GET['filters']['options'][$option->id] == $item->id ? 'checked' : false, |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | } |
| 48 | 48 | break; |
| 49 | 49 | default: |
| 50 | - $this->widget('Ui\Form/' . ($option->type ? $option->type : 'text'), [ |
|
| 50 | + $this->widget('Ui\Form/'.($option->type ? $option->type : 'text'), [ |
|
| 51 | 51 | 'label' => $option->name, |
| 52 | 52 | 'name' => "filters[options][{$option->id}]", |
| 53 | 53 | 'options' => [ |