Explorar el Código

* Fix overload selection

Michael VAN CANNEYT hace 2 años
padre
commit
f0d18fa0ca
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/fcl-web/src/restbridge/sqldbrestbridge.pp

+ 1 - 1
packages/fcl-web/src/restbridge/sqldbrestbridge.pp

@@ -2352,7 +2352,7 @@ begin
   // Check & discard basepath parts of the URL
   Path:=aRequest.GetNextPathInfo;
   Full:=BasePath;
-  BasePaths:=Full.Split('/',TStringSplitOptions.ExcludeEmpty);
+  BasePaths:=Full.Split(RTLString('/'),TStringSplitOptions.ExcludeEmpty);
   I:=0;
   While (I<Length(BasePaths)) and SameText(Path,BasePaths[i]) do
     begin