Fix for non-Provisioning tables bug (eg Alchemy)

Wobin [05-14-14 - 15:14]
Fix for non-Provisioning tables bug (eg Alchemy)
Filename
Common.lua
diff --git a/Common.lua b/Common.lua
index 58919c8..f2fff04 100644
--- a/Common.lua
+++ b/Common.lua
@@ -116,7 +116,7 @@ function SousChef.AddDetails(row)
         end
     end

-    if SousChef.settings.onlyShowShopping and SousChef.slotLines[row:GetName()]:IsHidden() then return end
+    if SousChef.settings.onlyShowShopping and SousChef.slotLines[row:GetName()] and SousChef.slotLines[row:GetName()]:IsHidden() then return end

 	local itemId = u.GetItemID(slotIndex and GetItemLink(bagId, slotIndex) or GetLootItemLink(bagId)) -- Get itemId of inventory or loot slot
 	local usableIngredient = SousChef.ReverseCookbook[itemId]