Index: branches/5.3.x/install/upgrades.php =================================================================== diff -u -N -r15671 -r15695 --- branches/5.3.x/install/upgrades.php (.../upgrades.php) (revision 15671) +++ branches/5.3.x/install/upgrades.php (.../upgrades.php) (revision 15695) @@ -1,6 +1,6 @@ Application->getUnitConfig('c'); $root_category = $this->Application->findModule('Name', 'In-Commerce', 'RootCat'); - $sql = 'UPDATE ' . $this->Application->getUnitOption('c', 'TableName') . ' + $sql = 'UPDATE ' . $categories_config->getTableName() . ' SET UseMenuIconUrl = 1, MenuIconUrl = "in-commerce/img/menu_products.gif" - WHERE ' . $this->Application->getUnitOption('c', 'IDField') . ' = ' . $root_category; + WHERE ' . $categories_config->getIDField() . ' = ' . $root_category; $this->Conn->Query($sql); $this->_updateDetailTemplate('p', 'in-commerce/product/details', 'in-commerce/designs/detail'); @@ -156,7 +157,7 @@ return; } - $table_name = $this->Application->getUnitOption('pt', 'TableName'); + $table_name = $this->Application->getUnitConfig('pt')->getTableName(); $table_structure = $this->Conn->Query('DESCRIBE ' . $table_name, 'Field'); if ( isset($table_structure['Description']) ) {