Fix profession = nil for text dump.
ackis [01-21-09 - 21:10]
Fix profession = nil for text dump.
diff --git a/ARLFrame.lua b/ARLFrame.lua
index d289c1e..59948a3 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -4337,7 +4337,7 @@ function addon:DisplayTextDump(RecipeDB, profession, text)
if (not RecipeDB and profession) then
textdump = text
else
- textdump = self:GetTextDump(RecipeDB)
+ textdump = self:GetTextDump(RecipeDB,profession)
end
local PaneBackdrop = {
diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua
index ada4ffa..045f2e0 100644
--- a/AckisRecipeList.lua
+++ b/AckisRecipeList.lua
@@ -2093,8 +2093,8 @@ function addon:GetTextDump(RecipeDB, profession)
--local profspellid = GetSpellInfo(profession)
--@debug@
- --self:Print("DEBUG: Getting text dumb for: " .. profession .. "(" .. profspellid .. ")")
- self:Print("DEBUG: Getting text dumb for: " .. profession)
+ --self:Print("DEBUG: Getting text dump for: " .. profession .. "(" .. profspellid .. ")")
+ self:Print("DEBUG: Getting text dump for: " .. profession)
--@end-debug@
-- Add a header to the text table