with PHP7 the result of new() can no longer be assigned by reference

This commit is contained in:
Christian von Roques 2017-04-02 18:03:17 +02:00
parent ccecabfbf4
commit 40debbc7b5

View File

@ -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";