From 55eb6637b5baaf87cdeb39451745bd86832c1566 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Sat, 20 Mar 2010 05:08:35 -0400 Subject: [PATCH] In addon:ScanVendor(): Moved assignment of "added = true" so the scan frame will not appear if there are no results. --- Datamine.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Datamine.lua b/Datamine.lua index c552383..bfb6762 100644 --- a/Datamine.lua +++ b/Datamine.lua @@ -1682,9 +1682,8 @@ do if spell_id then local ttscantext = addon:TooltipScanRecipe(spell_id, true, true) - added = true - if ttscantext and ttscantext ~= "" then + added = true tinsert(output, ttscantext) end @@ -1711,6 +1710,7 @@ do end if not found then + added = true tinsert(output, "Vendor ID missing from " .. spell_id) end else -- 1.7.9.5