From 3c94b7117d15e747951c0b3432f2d00b33aabf2b Mon Sep 17 00:00:00 2001 From: ackis Date: Wed, 21 Jan 2009 21:10:11 +0000 Subject: [PATCH] Fix profession = nil for text dump. --- ARLFrame.lua | 2 +- AckisRecipeList.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 1.7.9.5