From d9f4b74f1eaec0a74f5fe95b4e83fc798bf6b76a Mon Sep 17 00:00:00 2001 From: xpoback Date: Tue, 2 Aug 2016 16:55:38 +0200 Subject: [PATCH] [FACTFNIDER-158] Fix store configuration for import triggering #135 --- src/app/code/community/FACTFinder/Core/Model/Export/Observer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/code/community/FACTFinder/Core/Model/Export/Observer.php b/src/app/code/community/FACTFinder/Core/Model/Export/Observer.php index d79983a5..591d3d23 100644 --- a/src/app/code/community/FACTFinder/Core/Model/Export/Observer.php +++ b/src/app/code/community/FACTFinder/Core/Model/Export/Observer.php @@ -29,6 +29,7 @@ public function triggerImportAfterExport($observer) $channel = $helper->getPrimaryChannel($storeId); $download = !Mage::helper('factfinder/export')->useFtp($storeId); $facade = Mage::getModel('factfinder/facade'); + $facade->setStoreId($storeId); $facade->triggerDataImport($channel, $download); } }