]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/reverse.php
A bunch more places that should be using calculated_country_code not country_code
[nominatim.git] / website / reverse.php
index a0f5cea665d135c9d12dd50736daf0cc63e1d8ca..5eec5c747867672e028382cd384ae12759a77dc9 100755 (executable)
 
                if ($bShowAddressDetails)
                {
-                       $aAddress = getAddressDetails($oDB, $sLanguagePrefArraySQL, $iPlaceID, $aPlace['country_code']);
+                       $aAddress = getAddressDetails($oDB, $sLanguagePrefArraySQL, $iPlaceID, $aPlace['calculated_country_code']);
                }
                $aClassType = getClassTypes();
                $sAddressType = '';