Added in a gatecheck for gold on loot

Wobin [05-07-14 - 15:39]
Added in a gatecheck for gold on loot
Filename
Inventory.lua
diff --git a/Inventory.lua b/Inventory.lua
index 7dec341..1e89ef5 100644
--- a/Inventory.lua
+++ b/Inventory.lua
@@ -8,8 +8,8 @@ function SousChef.AddRankToSlot(row, funcs)
     local bagId = slot[funcs[2]]
     local slotIndex = funcs[3] and slot[funcs[3]] or nil

-    if not slot.name or slot.name == "" then return end
-
+    if not bagId or not slot.name or slot.name == "" then return end
+
 	local rankIcon = SousChef.getIcon(row)

 	-- Allow for ingeniousclown's Inventory Grid View