We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 07b8018 + 35464c1 commit 18d1d01Copy full SHA for 18d1d01
app/code/Magento/SalesRule/Model/ResourceModel/Rule.php
@@ -196,7 +196,7 @@ public function getCustomerUses($rule, $customerId)
196
{
197
$connection = $this->getConnection();
198
$select = $connection->select()->from(
199
- $this->getTable('rule_customer'),
+ $this->getTable('salesrule_customer'),
200
['cnt' => 'count(*)']
201
)->where(
202
'rule_id = :rule_id'
0 commit comments