Browse Source

* Fix DoGetCGIVar

git-svn-id: trunk@33613 -
michael 9 years ago
parent
commit
ba0a4a78f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-web/src/base/custcgi.pp

+ 1 - 1
packages/fcl-web/src/base/custcgi.pp

@@ -318,7 +318,7 @@ end;
 function TCGIRequest.DoGetCGIVar(AVarName : String) : String;
 function TCGIRequest.DoGetCGIVar(AVarName : String) : String;
 
 
 begin
 begin
-  GetEnvironmentVariable(AVarName);
+  Result := GetEnvironmentVariable(AVarName);
 end;
 end;
 
 
 function TCGIRequest.GetCGIVar(Index: integer): String;
 function TCGIRequest.GetCGIVar(Index: integer): String;