Skip to content

Instantly share code, notes, and snippets.

diff --git a/web/app/code/core/Mage/Eav/Model/Entity/Setup.php b/web/app/code/core/Mage/Eav/Model/Entity/Setup.php
index 6f3395e..0b56d75 100644
--- a/web/app/code/core/Mage/Eav/Model/Entity/Setup.php
+++ b/web/app/code/core/Mage/Eav/Model/Entity/Setup.php
@@ -1209,12 +1209,12 @@ class Mage_Eav_Model_Entity_Setup extends Mage_Core_Model_Resource_Setup
$isNoDefaultTypes = $this->_getValue($options, 'no-default-types', false);
$customTypes = $this->_getValue($options, 'types', array());
$tables = array();
+ $connection = $this->getConnection();