From 5801c98c4e950fff3d212430a393355007c0ab4c Mon Sep 17 00:00:00 2001 From: "ajschult%verizon.net" Date: Sun, 2 Jul 2006 00:39:32 +0000 Subject: [PATCH] Bug 341436: Address Neil's review nit --- mailnews/base/resources/content/mail3PaneWindowCommands.js | 1 + 1 file changed, 1 insertion(+) diff --git a/mailnews/base/resources/content/mail3PaneWindowCommands.js b/mailnews/base/resources/content/mail3PaneWindowCommands.js index d343d779be07..10b17d506431 100644 --- a/mailnews/base/resources/content/mail3PaneWindowCommands.js +++ b/mailnews/base/resources/content/mail3PaneWindowCommands.js @@ -862,6 +862,7 @@ function IsCanSearchMessagesEnabled() var folderURI = GetSelectedFolderURI(); if (!folderURI) return false; + var folder = GetMsgFolderFromUri(folderURI, false); var isVirtualFolder = folder.flags & MSG_FOLDER_FLAG_VIRTUAL; return folder.server.canSearchMessages && !isVirtualFolder;