mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
fix structured and batch mode. Add constant to disable batch mode by default
This commit is contained in:
@@ -160,7 +160,7 @@
|
||||
|
||||
loadParamsToGeocode($oGeocode, $_GET, false);
|
||||
|
||||
if (isset($_GET['batch']))
|
||||
if (CONST_Search_BatchMode && isset($_GET['batch']))
|
||||
{
|
||||
$aBatch = json_decode($_GET['batch'], true);
|
||||
$aBatchResults = array();
|
||||
|
||||
Reference in New Issue
Block a user