]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/search.php
fix structured and batch mode. Add constant to disable batch mode by default
[nominatim.git] / website / search.php
index 8e0bb6f64557c56d97d0a71c988a6304d53bb200..b87f60e071aa8674cd46252b59e65576da35c377 100755 (executable)
 
        loadParamsToGeocode($oGeocode, $_GET, false);
 
 
        loadParamsToGeocode($oGeocode, $_GET, false);
 
-       if (isset($_GET['batch']))
+       if (CONST_Search_BatchMode && isset($_GET['batch']))
        {
                $aBatch = json_decode($_GET['batch'], true);
                $aBatchResults = array();
        {
                $aBatch = json_decode($_GET['batch'], true);
                $aBatchResults = array();