Skip to content

Commit

Permalink
Fix missing conditions on 2nd level in product tabs (close #20)
Browse files Browse the repository at this point in the history
  • Loading branch information
tangar76 committed Oct 3, 2018
1 parent 2bab59c commit 38cff97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public function newConditionHtmlAction()
$model = Mage::getModel($type)
->setId($id)
->setType($type)
->setRule(Mage::getModel('easytabs/tab'))
->setRule(Mage::getModel('easytabs/tab', array('product_tab' => $this->productTab)))
->setPrefix('conditions');
if (!empty($typeArr[1])) {
$model->setAttribute($typeArr[1]);
Expand Down

0 comments on commit 38cff97

Please sign in to comment.