From c67beba386f57ce40e61b9f3ba1db7d199a4b0bf Mon Sep 17 00:00:00 2001 From: "dwitte%stanford.edu" Date: Wed, 9 Mar 2005 03:33:42 +0000 Subject: [PATCH] fix typo, b=284098, r=mconnor --- browser/components/preferences/cookies.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/components/preferences/cookies.js b/browser/components/preferences/cookies.js index f35aab8d81a1..aef04612d625 100644 --- a/browser/components/preferences/cookies.js +++ b/browser/components/preferences/cookies.js @@ -82,7 +82,7 @@ var gCookiesWindow = { observe: function (aCookie, aTopic, aData) { - if (aTopic != "cookie-changed" || !aSubject) + if (aTopic != "cookie-changed" || !aCookie) return; if (aCookie instanceof Components.interfaces.nsICookie) {