Skip to content

Commit 18d1d01

Browse files
author
Oleksii Korshenko
authored
MAGETWO-66611: Table name fix - rule_customer to salesrule_customer #5207
2 parents 07b8018 + 35464c1 commit 18d1d01

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
@@ -196,7 +196,7 @@ public function getCustomerUses($rule, $customerId)
196196
{
197197
$connection = $this->getConnection();
198198
$select = $connection->select()->from(
199-
$this->getTable('rule_customer'),
199+
$this->getTable('salesrule_customer'),
200200
['cnt' => 'count(*)']
201201
)->where(
202202
'rule_id = :rule_id'

0 commit comments

Comments
 (0)