Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #8 from minigraphx/master
Browse files Browse the repository at this point in the history
bugfix: remove empty array elements to avoid wrong links on removed filters
  • Loading branch information
Michael Türk committed Feb 26, 2016
2 parents d89554e + 3702ef9 commit f1a2df9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function getSpeakingFilterUrl($addOwnValue, $withoutFilter = FALSE, $addi


ksort($filterUrlArray['filterUrl']);
$filterUrlString = implode('-', $filterUrlArray['filterUrl']);
$filterUrlString = implode('-', array_filter($filterUrlArray['filterUrl']));

//replace url with category url
if(Mage::registry('current_category') != null) {
Expand Down

0 comments on commit f1a2df9

Please sign in to comment.