]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/AddressDetails.php
remove default parameter for namedtuple
[nominatim.git] / lib-php / AddressDetails.php
index 3d17ede51cb4d3c605f3d166dca58af542c7a15f..bf8defc230a9c66b0a1f52ec2049e7522a7b7491 100644 (file)
@@ -80,7 +80,6 @@ class AddressDetails
             }
 
             if (isset($sName)) {
-                $sTypeLabel = strtolower(str_replace(' ', '_', $sTypeLabel));
                 if (!isset($aAddress[$sTypeLabel])
                     || $aLine['class'] == 'place'
                 ) {