Quantcast

Properly update the name in case there is no match

Adrian L Lange [05-17-13 - 00:26]
Properly update the name in case there is no match
Filename
Broker_Equipment.lua
diff --git a/Broker_Equipment.lua b/Broker_Equipment.lua
index 62cf020..d6cc81c 100644
--- a/Broker_Equipment.lua
+++ b/Broker_Equipment.lua
@@ -27,11 +27,11 @@ local function UpdateDisplay()
 				LDB.text = name
 				LDB.icon = icon
 				return
-			else
-				LDB.text = UNKNOWN
-				LDB.icon = [=[Interface\Icons\INV_Misc_QuestionMark]=]
 			end
 		end
+
+		LDB.text = UNKNOWN
+		LDB.icon = [=[Interface\Icons\INV_Misc_QuestionMark]=]
 	end
 end