]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/search.php
fix for PHP7, added test setup
[nominatim.git] / website / search.php
index c216c8848c3a07063fd448e92d1a2222ba1da2fa..ac0b4bdd65b25279fb12ee21da5cf3d441fcb900 100755 (executable)
@@ -14,7 +14,7 @@
        $fLon = CONST_Default_Lon;
        $iZoom = CONST_Default_Zoom;
 
-       $oGeocode =& new Geocode($oDB);
+       $oGeocode = new Geocode($oDB);
 
        $aLangPrefOrder = getPreferredLanguages();
        $oGeocode->setLanguagePreference($aLangPrefOrder);