From c21cd6f1dedc2c0a2ad00805b64fafab80f057b0 Mon Sep 17 00:00:00 2001 From: Kiel Date: Tue, 3 Oct 2023 10:39:34 +0100 Subject: [PATCH] Add Support for Table Prefixes --- ResourceModel/ImportData.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ResourceModel/ImportData.php b/ResourceModel/ImportData.php index 5ad3450..9bd3c21 100644 --- a/ResourceModel/ImportData.php +++ b/ResourceModel/ImportData.php @@ -35,11 +35,11 @@ protected function _construct() { if ($this->scopeConfig->isSetFlag('fastsimpleimport/database/import_temp_table')) { $this->getConnection()->createTemporaryTableLike( - 'importexport_importdata_tmp', - 'importexport_importdata', + $this->_resources->getTableName('importexport_importdata_tmp'), + $this->_resources->getTableName('importexport_importdata'), true ); - $this->_init('importexport_importdata_tmp', 'id'); + $this->_init($this->_resources->getTableName('importexport_importdata_tmp'), 'id'); } else { parent::_construct(); }