From: marc tobias Date: Wed, 12 May 2021 17:16:51 +0000 (+0200) Subject: typelabel value is already lowercased X-Git-Tag: v4.0.0~89^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/38f9e18afba26abe8f90735bedcd1c2044c2535e typelabel value is already lowercased --- diff --git a/lib-php/AddressDetails.php b/lib-php/AddressDetails.php index 3d17ede5..bf8defc2 100644 --- a/lib-php/AddressDetails.php +++ b/lib-php/AddressDetails.php @@ -80,7 +80,6 @@ class AddressDetails } if (isset($sName)) { - $sTypeLabel = strtolower(str_replace(' ', '_', $sTypeLabel)); if (!isset($aAddress[$sTypeLabel]) || $aLine['class'] == 'place' ) {