fix structured and batch mode. Add constant to disable batch mode by default

This commit is contained in:
Brian Quinion
2013-09-12 16:16:00 +01:00
parent 27e6a24718
commit a974d25092
5 changed files with 25 additions and 23 deletions

View File

@@ -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();