Commit 2f5cf56acfb7aac8308561562767d6e4136aef0a

Authored by Administrator
1 parent 8b4d6801

add local config

Showing 1 changed file with 2 additions and 5 deletions   Show diff stats
src/app/frontend/controllers/DealerController.php
... ... @@ -1674,12 +1674,9 @@ class DealerController extends \controllers\ControllerBase
1674 1674  
1675 1675 private function getGroups($items) {
1676 1676 $groups = [];
1677   - print_r($items);
1678   - die();
  1677 +
1679 1678 foreach($items as $i) {
1680   - print_r($i['subtype_alias']);
1681   - print_r($this->models->getItems()->getTitleByAlias($this->lang_id, $i['subtype_alias']));
1682   - die();
  1679 +
1683 1680 $title = $this->models->getItems()->getTitleByAlias($this->lang_id, $i['subtype_alias'])[0];
1684 1681 $hasMatch = false;
1685 1682 foreach($groups as $k => $g) {
... ...