mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-21 15:10:04 +01:00
wiki test: check if query nil
git-svn-id: trunk@35753 -
This commit is contained in:
parent
a06225b2c3
commit
929217af9b
@ -1334,7 +1334,7 @@ var
|
|||||||
HTML: String;
|
HTML: String;
|
||||||
begin
|
begin
|
||||||
FResultsHTML:='';
|
FResultsHTML:='';
|
||||||
if Query.Phrases.Count=0 then begin
|
if (Query=nil) or (Query.Phrases.Count=0) then begin
|
||||||
EnterCritSect;
|
EnterCritSect;
|
||||||
try
|
try
|
||||||
fProgressStep:=whpsWikiLoadComplete;
|
fProgressStep:=whpsWikiLoadComplete;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user