Skip to content

Commit

Permalink
Merge pull request #10 from RonanL/master
Browse files Browse the repository at this point in the history
Fix error when no flat resources
  • Loading branch information
SilvanLaroo authored Jun 1, 2017
2 parents 35ae0f8 + 198340e commit 3c856c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Block/Sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public function getSubcategories($category)
return (array)$category->getChildrenNodes();
}

return $category->getChildren();
return $category->getChildrenCategories();
}

/**
Expand Down

0 comments on commit 3c856c7

Please sign in to comment.