Skip to content

Commit

Permalink
Merge pull request #1929 from mailchimp/Issue1920-2.3
Browse files Browse the repository at this point in the history
closes #1920 for magento 2.3
  • Loading branch information
gonzaloebiz authored Mar 22, 2024
2 parents af4dc00 + 7394004 commit a0d6495
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,10 @@ public function loadListCustomers($listId, $email)
public function getTableName($tableName, $conn = ResourceConnection::DEFAULT_CONNECTION)
{
$connection = $this->_resource->getConnection($conn);
$tablePrefix = $this->_resource->getTablePrefix();
if ($tablePrefix && strpos($tableName, $tablePrefix) !== 0) {
$tableName = $tablePrefix . $tableName;
}
return $connection->getTableName($tableName, $conn);
}
public function getWebsiteId($storeId)
Expand Down

0 comments on commit a0d6495

Please sign in to comment.