diff --git a/setup/updates/1438620486_01.sql b/setup/updates/1438620486_01.sql index 6e3cc6da..2c56ff11 100644 --- a/setup/updates/1438620486_01.sql +++ b/setup/updates/1438620486_01.sql @@ -35,7 +35,9 @@ ALTER TABLE `aowow_item_stats` CHANGE COLUMN `id` `typeId` mediumint(9) unsigned NOT NULL AFTER `type`, DROP INDEX `item`, DROP PRIMARY KEY, - ADD PRIMARY KEY (`typeId`, `type`) + ADD PRIMARY KEY (`typeId`, `type`); + +UPDATE `aowow_item_stats` SET `type` = 3; ALTER TABLE `aowow_articles` ALTER `type` DROP DEFAULT, diff --git a/template/pages/enchantment.tpl.php b/template/pages/enchantment.tpl.php index 5e60ba58..33dcf50b 100644 --- a/template/pages/enchantment.tpl.php +++ b/template/pages/enchantment.tpl.php @@ -38,7 +38,7 @@ if (!empty($this->activateCondition)): activateCondition; ?> -effects as $i => $e):