From 6e48e1db7cdbfdf9f0ac05ac4813f8630663ccee Mon Sep 17 00:00:00 2001 From: Fritz Michael Gschwantner Date: Wed, 11 Sep 2019 15:29:22 +0200 Subject: [PATCH] pass key to geoCode --- classes/GeoCode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/GeoCode.php b/classes/GeoCode.php index 7d5fa4c..836caa1 100644 --- a/classes/GeoCode.php +++ b/classes/GeoCode.php @@ -68,7 +68,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) { @@ -275,4 +275,4 @@ public function callbackCoordinates() return self::getCoordinates($strAddress, $strCountry, $strLang); } -} \ No newline at end of file +}