Bug 713380 - Fix error "property is not defined" in msgHdrViewOverlay.js. r=standard8
authorStefan Sitter <ssitter@gmail.com>
Mon, 16 Jan 2012 23:16:03 +0100
changeset 10428 a9339f69c68ab9c9404cb301893e4247fa392c73
parent 10427 322e170393850091a447b93cd34f5a8603437783
child 10429 61e32a70af338ffa7bc213d6e744a2d93baeb1c3
push id402
push userbugzilla@standard8.plus.com
push dateTue, 13 Mar 2012 21:17:18 +0000
treeherdercomm-beta@d080a8ebf16a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersstandard8
bugs713380
Bug 713380 - Fix error "property is not defined" in msgHdrViewOverlay.js. r=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]);