fixed comments count in citizen portal
This commit is contained in:
@@ -83,8 +83,8 @@ function handle_read($input) {
|
||||
$municipality_id = $input['municipality_id'];
|
||||
|
||||
// Builds SQL Query with Placeholders for prepared Statement
|
||||
$sql = "SELECT *, ST_AsGeoJSON(geom) AS geojson
|
||||
FROM contributions
|
||||
$sql = "SELECT *, ST_AsGeoJSON(geom) AS geojson
|
||||
FROM contributions
|
||||
WHERE municipality_id = :mid";
|
||||
$params = [':mid' => $municipality_id];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user