From 230d5a66687d6e04a47d2bfe98e3fb3f6d7731ed Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Fri, 11 May 2012 09:17:35 -0400 Subject: [PATCH] Fix typo. Closes issue #802. --- common/modules/bookmarkcache.jsm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/modules/bookmarkcache.jsm b/common/modules/bookmarkcache.jsm index f70560a3..db2159cc 100644 --- a/common/modules/bookmarkcache.jsm +++ b/common/modules/bookmarkcache.jsm @@ -105,8 +105,8 @@ var BookmarkCache = Module("BookmarkCache", XPCOM(Ci.nsINavBookmarkObserver), { let uri = newURI(node.uri); let keyword = services.bookmarks.getKeywordForBookmark(node.itemId); - let tags = tags in node ? (node.tags ? node.tags.split(/, /g) : []) - : services.tagging.getTagsForURI(uri, {}) || []; + let tags = "tags" in node ? (node.tags ? node.tags.split(/, /g) : []) + : services.tagging.getTagsForURI(uri, {}) || []; let post = BookmarkCache.getAnnotation(node.itemId, this.POST); let charset = BookmarkCache.getAnnotation(node.itemId, this.CHARSET);