X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/38874233816367831c5c30cea0db16d48a3d7016..a44377c7b07c8398c09079b56a743029b57be5a2:/utils/query.php

diff --git a/utils/query.php b/utils/query.php
index 05875d64..85ec8737 100755
--- a/utils/query.php
+++ b/utils/query.php
@@ -28,12 +28,12 @@ $aCMDOptions
 getCmdOpt($_SERVER['argv'], $aCMDOptions, $aCMDResult, true, true);
 
 $oDB =& getDB();
-$oParams = new ParameterParser($aCMDResult);
+$oParams = new Nominatim\ParameterParser($aCMDResult);
 
 if ($oParams->getBool('search')) {
     if (isset($aCMDResult['nodedupe'])) $aCMDResult['dedupe'] = 'false';
 
-    $oGeocode = new Geocode($oDB);
+    $oGeocode = new Nominatim\Geocode($oDB);
 
     $oGeocode->setLanguagePreference($oParams->getPreferredLanguages(false));
     $oGeocode->loadParamArray($oParams);