From 8847b85431a9ce068f7da79170fce4b4655a92b5 Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 13 Jun 2014 17:53:57 +0200 Subject: [PATCH] a bug with magmi and table prefixes was solved --- CHANGELOG.md | 4 ++++ .../community/Fballiano/FullCatalogTranslate/etc/config.xml | 2 +- lib/Magmi/inc/magmi_engine.php | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f07987d..723349c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +0.4.0 +----- +* a bug with Magmi and table prefixes was solved + 0.3.0 ----- * "Attribute to translate" config il now a multiselect diff --git a/app/code/community/Fballiano/FullCatalogTranslate/etc/config.xml b/app/code/community/Fballiano/FullCatalogTranslate/etc/config.xml index 3fc4f96..c6e0867 100644 --- a/app/code/community/Fballiano/FullCatalogTranslate/etc/config.xml +++ b/app/code/community/Fballiano/FullCatalogTranslate/etc/config.xml @@ -2,7 +2,7 @@ - 0.3.0 + 0.4.0 diff --git a/lib/Magmi/inc/magmi_engine.php b/lib/Magmi/inc/magmi_engine.php index 588fce9..768d8cf 100755 --- a/lib/Magmi/inc/magmi_engine.php +++ b/lib/Magmi/inc/magmi_engine.php @@ -47,6 +47,7 @@ public final function initialize($params=array()) $this->_conf->load(); $this->tprefix=$this->_conf->get("DATABASE","table_prefix"); + $this->tprefix=Mage::getConfig()->getTablePrefix();//FB: patch for magento $this->_excid=0; $this->_initialized=true; $this->_exceptions=array();