]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/AddressDetails.php
remove reference to nominatim.xml OpenSearch description
[nominatim.git] / lib / AddressDetails.php
index b62335d1f61ace06277a7aebf23423dbba7ef3cc..783a0fdae673b8b155b5a823cd913d201196cd08 100644 (file)
@@ -14,7 +14,7 @@ class AddressDetails
     public function __construct(&$oDB, $iPlaceID, $sHousenumber, $mLangPref)
     {
         if (is_array($mLangPref)) {
-            $mLangPref = 'ARRAY['.join(',', array_map('getDBQuoted', $mLangPref)).']';
+            $mLangPref = $oDB->getArraySQL($oDB->getDBQuotedList($mLangPref));
         }
 
         if (!isset($sHousenumber)) {