Skip to content

Commit

Permalink
Fixes #18357 - SQL error when table prefix used.
Browse files Browse the repository at this point in the history
  • Loading branch information
pocallaghan authored and gelanivishal committed Oct 27, 2018
1 parent 0f57a30 commit 2a6f834
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private function getStoresForAgreements()

if (!empty($agreementId)) {
$select = $this->getConnection()->select()->from(
['agreement_store' => 'checkout_agreement_store']
['agreement_store' => $this->getResource()->getTable('checkout_agreement_store')]
)->where(
'agreement_store.agreement_id IN (?)',
$agreementId
Expand Down

0 comments on commit 2a6f834

Please sign in to comment.