Bug 1559190 - Fix undefined variable. rs=bustage-fix
authorIan Neal <iann_cvs@blueyonder.co.uk>
Thu, 13 Jun 2019 22:46:16 +0200
changeset 35860 39836474eb698ff365f89544b0156419e4d71208
parent 35859 bc36808a82ecf983c6bede5a61398109ee0e007f
child 35861 3e76c29bfb96ce9f785f63c4d2adb318f3664dbf
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersbustage-fix
bugs1559190
Bug 1559190 - Fix undefined variable. rs=bustage-fix
suite/mailnews/content/msgHdrViewOverlay.js
--- a/suite/mailnews/content/msgHdrViewOverlay.js
+++ b/suite/mailnews/content/msgHdrViewOverlay.js
@@ -1101,17 +1101,17 @@ function OutputEmailAddresses(headerEntr
       address.fullAddress = addr.toString() || "";
       address.displayName = addr.name || "";
       if (headerEntry.useToggle)
         headerEntry.enclosingBox.addAddressView(address);
       else
         updateEmailAddressNode(headerEntry.enclosingBox.emailAddressNode, address);
 
       if (headerEntry.enclosingBox.getAttribute("id") == "expandedfromBox") {
-        setFromBuddyIcon(addresses.value[index]);
+        setFromBuddyIcon(addr.email);
       }
     }
 
     if (headerEntry.useToggle)
       headerEntry.enclosingBox.buildViews();
   } // if msgheader parser
 }