mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-23 05:35:13 +03:00
with PHP7 the result of new() can no longer be assigned by reference
This commit is contained in:
parent
ccecabfbf4
commit
40debbc7b5
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user