From 929217af9b4048ca7d4376abce4bb71abea1c16c Mon Sep 17 00:00:00 2001 From: mattias Date: Mon, 5 Mar 2012 22:18:08 +0000 Subject: [PATCH] wiki test: check if query nil git-svn-id: trunk@35753 - --- components/wiki/test/wikihelpmanager.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/wiki/test/wikihelpmanager.pas b/components/wiki/test/wikihelpmanager.pas index 1dd908a974..70ea1bb9c3 100644 --- a/components/wiki/test/wikihelpmanager.pas +++ b/components/wiki/test/wikihelpmanager.pas @@ -1334,7 +1334,7 @@ var HTML: String; begin FResultsHTML:=''; - if Query.Phrases.Count=0 then begin + if (Query=nil) or (Query.Phrases.Count=0) then begin EnterCritSect; try fProgressStep:=whpsWikiLoadComplete;