]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/warm.php
with PHP7 the result of new() can no longer be assigned by reference
[nominatim.git] / utils / warm.php
index 5743dbd5211955e933b0c55148ca1ff574764d38..68fa751ca6d1d10a01a6ce646eaa30ea2692b3d8 100755 (executable)
@@ -53,7 +53,7 @@ if (!$aResult['search-only']) {
 }
 
 if (!$aResult['reverse-only']) {
-    $oGeocode =& new Nominatim\Geocode($oDB);
+    $oGeocode = new Nominatim\Geocode($oDB);
 
     echo "Warm search: ";
     if ($bVerbose) echo "\n";