X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/27af9b102c2d6167b9025d594f8cb75e4dd76a03..b14ce959d9532f192b748b12f6c71f23a9c1a60b:/lib-php/log.php diff --git a/lib-php/log.php b/lib-php/log.php index 723b38ef..d7e14932 100644 --- a/lib-php/log.php +++ b/lib-php/log.php @@ -16,8 +16,12 @@ function logStart(&$oDB, $sType = '', $sQuery = '', $aLanguageList = array()) if ($sType == 'reverse') { $sOutQuery = (isset($_GET['lat'])?$_GET['lat']:'').'/'; - if (isset($_GET['lon'])) $sOutQuery .= $_GET['lon']; - if (isset($_GET['zoom'])) $sOutQuery .= '/'.$_GET['zoom']; + if (isset($_GET['lon'])) { + $sOutQuery .= $_GET['lon']; + } + if (isset($_GET['zoom'])) { + $sOutQuery .= '/'.$_GET['zoom']; + } } else { $sOutQuery = $sQuery; }