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(); }