]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/search.php
use bbox of geometry when searching for attached streets
[nominatim.git] / website / search.php
index a9bb3f0b0d381cbef5f9f325330317c6b4b2c35b..26c10122924dc9329ea288d06a40687d75a33dfc 100644 (file)
@@ -66,7 +66,7 @@ $hLog = logStart($oDB, 'search', $oGeocode->getQueryString(), $aLangPrefOrder);
 $aSearchResults = $oGeocode->lookup();
 
 if ($sOutputFormat=='html') {
-    $sDataDate = chksql($oDB->getOne("select TO_CHAR(lastimportdate,'YYYY/MM/DD HH24:MI')||' GMT' from import_status limit 1"));
+    $sDataDate = $oDB->getOne("select TO_CHAR(lastimportdate,'YYYY/MM/DD HH24:MI')||' GMT' from import_status limit 1");
 }
 logEnd($oDB, $hLog, count($aSearchResults));