Commit 644ed08eb33d81b995a643290e2ef22d3b229d5e

Authored by Administrator
1 parent e8edbb21

add local config

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