]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/Geocode.php
replace deprecated ST_Line_Locate_Point function
[nominatim.git] / lib / Geocode.php
index 54e738ff5aa90e7ece10478c3f5588a7c55509b9..4ed90dc2bb89c2696168c617ff5a604e80bd75c7 100644 (file)
@@ -252,7 +252,7 @@ class Geocode
                     $aCountries[] = strtolower($sCountryCode);
                 }
             }
-            if (isset($aCountryCodes))
+            if (isset($aCountries))
                 $this->aCountryCodes = $aCountries;
         }