]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/query.php
remove reference assignment where unnecessary
[nominatim.git] / utils / query.php
index 9ab23dc308635df8c9fccd05e85432fe676de9f3..919486adc340503051d10a9d0cdfdb8ab086c7bd 100755 (executable)
@@ -32,7 +32,7 @@
         if (isset($aCMDResult['bounded'])) $aCMDResult['bounded'] = 'true';
         if (isset($aCMDResult['nodedupe'])) $aCMDResult['dedupe'] = 'false';
 
-        $oGeocode =& new Geocode($oDB);
+        $oGeocode = new Geocode($oDB);
         if (isset($aCMDResult['accept-language']) && $aCMDResult['accept-language'])
             $oGeocode->setLanguagePreference(getPreferredLanguages($aCMDResult['accept-language']));
         else