# HG changeset patch # User Zerotorescue # Date 1298125220 -3600 # Node ID 2af0f77dbae06e747e682389be1f46b893bc7bf4 # Parent 5736b1f2c6b093778d8fbd3525ecb09b99ba26d0 Fixed an error when QA?s mass opening is not available (such as for ZeroAuctions). diff -r 5736b1f2c6b0 -r 2af0f77dbae0 Core.lua --- a/Core.lua Sat Jan 29 22:32:35 2011 +0100 +++ b/Core.lua Sat Feb 19 15:20:20 2011 +0100 @@ -450,10 +450,14 @@ local QAMail = AHAddon:GetModule("Mail", true); if QAMail then - -- Hide the open all button - QAMail.massOpening:Hide(); - -- Hide the x mail remaining text - QAMail.totalMail:Hide(); + if QAMail.massOpening then + -- Hide the open all button + QAMail.massOpening:Hide(); + end + if QAMail.totalMail then + -- Hide the x mail remaining text + QAMail.totalMail:Hide(); + end end end end