Skip to content

Commit

Permalink
Merge pull request #12 from mkrvevgn/patch-1
Browse files Browse the repository at this point in the history
at 3-rd level categories (and deeper) will not be selected as active
  • Loading branch information
samdark committed Apr 30, 2015
2 parents 776d286 + 3f22048 commit cee1b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/controllers/CatalogController.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private function placeCategory($category, &$menuItems, $activeId = null)
];
break;
} elseif (!empty($menuItems[$id]['items'])) {
$this->placeCategory($category, $menuItems[$id]['items']);
$this->placeCategory($category, $menuItems[$id]['items'], $activeId);
}
}
}
Expand Down

0 comments on commit cee1b58

Please sign in to comment.