Quantcast

Fix mail bug

Darthpred [08-29-13 - 03:06]
Fix mail bug
Filename
ElvUI_SLE/modules/datatexts/mail.lua
diff --git a/ElvUI_SLE/modules/datatexts/mail.lua b/ElvUI_SLE/modules/datatexts/mail.lua
index 07f7c2e..eff62ab 100644
--- a/ElvUI_SLE/modules/datatexts/mail.lua
+++ b/ElvUI_SLE/modules/datatexts/mail.lua
@@ -74,7 +74,7 @@ local function OnEnter(self)

 	if not Read then
 		DT.tooltip:AddLine(HAVE_MAIL_FROM)
-		DT.tooltip:AddLine("    "..sender1)
+		if sender1 then DT.tooltip:AddLine("    "..sender1) end
 		if sender2 then DT.tooltip:AddLine("    "..sender2) end
 		if sender3 then DT.tooltip:AddLine("    "..sender3) end