@@ -238,8 +238,7 @@ |
||
238 | 238 | $opts = array_unique($opts); |
239 | 239 | if($opts) { |
240 | 240 | $options = \Ecommerce\Item\Option::getList(['where' => [['item_option_searchable', 1], ['id', $opts, 'IN']], 'order' => ['weight', 'asc']]); |
241 | - } |
|
242 | - else { |
|
241 | + } else { |
|
243 | 242 | $options=[]; |
244 | 243 | } |
245 | 244 | } elseif (empty(App::$cur->ecommerce->config['filtersInLast'])) { |