diff --git a/app/src/main/java/org/openimis/imispolicies/ClientAndroidInterface.java b/app/src/main/java/org/openimis/imispolicies/ClientAndroidInterface.java index 0472357d..ebb1b13c 100644 --- a/app/src/main/java/org/openimis/imispolicies/ClientAndroidInterface.java +++ b/app/src/main/java/org/openimis/imispolicies/ClientAndroidInterface.java @@ -372,7 +372,7 @@ public String getRegions() { @Language("SQL") String Query = "SELECT LocationId, LocationName FROM tblLocations WHERE LocationId = (SELECT L.ParentLocationId LocationId FROM tblLocations L"; if (officerLocationId != null) { - Query += "WHERE L.LocationId = " + officerLocationId + "')"; + Query += " WHERE L.LocationId = " + officerLocationId; } Query += ")"; return sqlHandler.getResult(Query, null).toString();