mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-12 05:44:06 +00:00
with PHP7 the result of new() can no longer be assigned by reference
This commit is contained in:
@@ -53,7 +53,7 @@ if (!$aResult['search-only']) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!$aResult['reverse-only']) {
|
if (!$aResult['reverse-only']) {
|
||||||
$oGeocode =& new Nominatim\Geocode($oDB);
|
$oGeocode = new Nominatim\Geocode($oDB);
|
||||||
|
|
||||||
echo "Warm search: ";
|
echo "Warm search: ";
|
||||||
if ($bVerbose) echo "\n";
|
if ($bVerbose) echo "\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user