Users without a valid From name doesn't crash the composer anymore. This really doesn't fix any 'problem' with prefs, more of a workaround.

This commit is contained in:
halex
2007-07-31 07:54:07 +00:00
parent 2d37fb62db
commit 3b1507bc7b
+1 -1
View File
@@ -102,7 +102,7 @@ Dragonfly.Mail.Preferences.getFromAddress = function ()
var d = Dragonfly;
var p = d.Preferences;
var emailfrom = p.prefs.mail.from;
var emailfrom = p.prefs.mail.from || '';
var namefrom = p.prefs.mail.sender;
return d.format("{0} <{1}>", namefrom, emailfrom);