Skip to content
This repository was archived by the owner on Oct 19, 2022. It is now read-only.

Commit 2e2ddbe

Browse files
authored
Update IndexController.php
Attributelanding page filters by for tweakwise are set by AttributeLandingStrategy component. Prevent duplicate add of same filter.
1 parent 7a3c299 commit 2e2ddbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/local/Emico/AttributeLanding/controllers/IndexController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ protected function initCategory(Emico_AttributeLanding_Model_Page $page)
2525
*/
2626
protected function setFilterState(Emico_AttributeLanding_Model_Page $page)
2727
{
28-
if (!Mage::helper('core')->isModuleEnabled('Emico_Tweakwise')) {
28+
if (Mage::helper('core')->isModuleEnabled('Emico_Tweakwise')) {
2929
return;
3030
}
3131

0 commit comments

Comments
 (0)