Mercurial > wow > wowdb-profiler
changeset 225:86b3d5b00a90 1.0.37
Fixed error caused by attempting to set item.upgrade_id where item was not defined.
author | James D. Callahan III <jcallahan@curse.com> |
---|---|
date | Mon, 28 Jan 2013 18:36:00 -0600 |
parents | cbd156d9199e |
children | 7471bca69c99 |
files | Main.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Main.lua Mon Jan 28 11:44:17 2013 -0600 +++ b/Main.lua Mon Jan 28 18:36:00 2013 -0600 @@ -837,6 +837,7 @@ return end local item = DBEntry("items", item_id) + item.upgrade_id = upgrade_id item.upgrades = item.upgrades or {} item.upgrades[upgrade_id] = item.upgrades[upgrade_id] or {} @@ -865,7 +866,6 @@ end if upgrade_id and upgrade_id ~= 0 then - item.upgrade_id = upgrade_id DatamineTT:SetHyperlink(item_link) ScrapeItemUpgradeStats(item_id, upgrade_id, reforge_id) end