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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user