From 40debbc7b51de624c1f6f9e7d954fcf870eff621 Mon Sep 17 00:00:00 2001 From: Christian von Roques Date: Sun, 2 Apr 2017 18:03:17 +0200 Subject: [PATCH] with PHP7 the result of new() can no longer be assigned by reference --- utils/warm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/warm.php b/utils/warm.php index 5743dbd5..68fa751c 100755 --- a/utils/warm.php +++ b/utils/warm.php @@ -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";