Skip to content

Commit 5a54198

Browse files
committed
ACP2E-1965: address CR comment
1 parent f707775 commit 5a54198

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/SalesRule/Model/ResourceModel

1 file changed

+1
-1
lines changed

app/code/Magento/SalesRule/Model/ResourceModel/Rule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ public function getActiveAttributes()
314314
[]
315315
)->joinInner(
316316
['sr' => $this->getTable('salesrule')],
317-
'a.' . $this->getLinkField() . ' = sr.rule_id AND sr.is_active = 1',
317+
'a.' . $this->getLinkField() . ' = sr.' . $this->getLinkField() . ' AND sr.is_active = 1',
318318
[]
319319
);
320320
return $connection->fetchAll($select);

0 commit comments

Comments
 (0)