From 38d1afc814154d2b4d3267cc94d09426badad6a6 Mon Sep 17 00:00:00 2001 From: Ingolf Steinhardt Date: Wed, 12 Sep 2018 16:39:09 +0200 Subject: [PATCH] Hofix add key to call geoCode --- classes/GeoCode.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/GeoCode.php b/classes/GeoCode.php index 7d5fa4c..ad88292 100644 --- a/classes/GeoCode.php +++ b/classes/GeoCode.php @@ -8,6 +8,7 @@ * * @package dlh_geocode * @author Christian de la Haye + * @author Ingolf Steinhardt * @link http://delahaye.de * @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL */ @@ -68,7 +69,7 @@ public static function getCoordinates($strAddress, $strCountry = 'de', $strLang if ($strAddress) { - $arrCoords = self::getInstance()->geoCode($strAddress, null, $strLang, $strCountry); + $arrCoords = self::getInstance()->geoCode($strAddress, null, $strLang, $strCountry, null, $key); if ($arrCoords) {