X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/db3ced17bbfff00411f506d8c84419c875959d5e..cc141bf1a551368101474cfac02a231719224710:/lib-php/template/search-xml.php?ds=inline diff --git a/lib-php/template/search-xml.php b/lib-php/template/search-xml.php index 5ac8e9dd..59b352ca 100644 --- a/lib-php/template/search-xml.php +++ b/lib-php/template/search-xml.php @@ -10,7 +10,9 @@ echo (isset($sXmlRootTag)?$sXmlRootTag:'searchresults'); echo " timestamp='".date(DATE_RFC822)."'"; echo " attribution='Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright'"; echo " querystring='".htmlspecialchars($sQuery, ENT_QUOTES)."'"; -if (isset($aMoreParams['viewbox'])) echo " viewbox='".htmlspecialchars($aMoreParams['viewbox'], ENT_QUOTES)."'"; +if (isset($aMoreParams['viewbox'])) { + echo " viewbox='".htmlspecialchars($aMoreParams['viewbox'], ENT_QUOTES)."'"; +} if (isset($aMoreParams['exclude_place_ids'])) { echo " exclude_place_ids='".htmlspecialchars($aMoreParams['exclude_place_ids'])."'"; }