bugfix for soulgems

Wobin [05-05-14 - 23:45]
bugfix for soulgems
removed debug
Filename
Common.lua
Provisioning.lua
diff --git a/Common.lua b/Common.lua
index f3b8af1..9df5801 100644
--- a/Common.lua
+++ b/Common.lua
@@ -76,7 +76,7 @@ function SousChef.AddDetails(row)
 	local bagId = rowInfo.bagId
 	local slotIndex = rowInfo.slotIndex

-	if u.MatchesRecipe(rowInfo.name) then
+	if u.MatchesRecipe(rowInfo.name or "") then
         local gmatch = u.MatchInGlobalCookbook(rowInfo.name)
         if gmatch then
             ZO_Tooltip_AddDivider(ItemTooltip)
diff --git a/Provisioning.lua b/Provisioning.lua
index bfe49ae..2c9f756 100644
--- a/Provisioning.lua
+++ b/Provisioning.lua
@@ -30,8 +30,7 @@ function SousChef:HookRecipeTreeFunction()
             function(...)
                 local node, control, data, open, userRequested, enabled = ...
                 SousChef.hookedProvisioningFunction(...)
-                local link = GetRecipeResultItemLink(data.recipeListIndex, data.recipeIndex, LINK_STYLE_BRACKETS)
-                d(link)
+                local link = GetRecipeResultItemLink(data.recipeListIndex, data.recipeIndex, LINK_STYLE_BRACKETS)
                 if link then
                     SousChef:AddNotifier(control, SousChef.settings.shoppingList[zo_strformat(SI_TOOLTIP_ITEM_NAME, link)])
                 end