diff --git a/source/helpers.pas b/source/helpers.pas index 65d4f2a0..961e17c0 100644 --- a/source/helpers.pas +++ b/source/helpers.pas @@ -1597,7 +1597,7 @@ end; function esc(Text: WideString; ProcessJokerChars: Boolean=false): WideString; begin - Mainform.Connection.EscapeString(Text, ProcessJokerChars); + Result := Mainform.Connection.EscapeString(Text, ProcessJokerChars); end;