forked from hans/Nominatim
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']) {
|
||||
$oGeocode =& new Nominatim\Geocode($oDB);
|
||||
$oGeocode = new Nominatim\Geocode($oDB);
|
||||
|
||||
echo "Warm search: ";
|
||||
if ($bVerbose) echo "\n";
|
||||
|
||||
Reference in New Issue
Block a user