Bug 713380 - Fix error "property is not defined" in msgHdrViewOverlay.js. r=standard8 a=standard8
authorStefan Sitter <ssitter@gmail.com>
Tue, 17 Jan 2012 20:19:56 +0100
changeset 10103 9f60299d73ec63cecb83ea5b5a6d3384eaf00b79
parent 10102 34866c3575877c650213d6532d7463d2ab84407a
child 10104 e039f47e9b7333b96123ebf46ac1afd5f46f13d4
push idunknown
push userunknown
push dateunknown
reviewersstandard8, standard8
bugs713380
Bug 713380 - Fix error "property is not defined" in msgHdrViewOverlay.js. r=standard8 a=standard8
mail/base/content/msgHdrViewOverlay.js
--- a/mail/base/content/msgHdrViewOverlay.js
+++ b/mail/base/content/msgHdrViewOverlay.js
@@ -2520,17 +2520,17 @@ function nsDummyMsgHeader()
 {
 }
 
 nsDummyMsgHeader.prototype =
 {
   mProperties : new Array,
   getStringProperty : function(aProperty) {
     if (aProperty in this.mProperties)
-      return this.mProperties[property];
+      return this.mProperties[aProperty];
     return "";
   },
   setStringProperty : function(aProperty, aVal) {
     this.mProperties[aProperty] = aVal;
   },
   getUint32Property : function(aProperty) {
     if (aProperty in this.mProperties)
       return parseInt(this.mProperties[aProperty]);