wiki test: check if query nil

git-svn-id: trunk@35753 -
This commit is contained in:
mattias 2012-03-05 22:18:08 +00:00
parent a06225b2c3
commit 929217af9b

View File

@ -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;