X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1e40d65aa93e011815d07a406bcc46448512d7e3..000d133af64522d65f885bb72d4cd099e69bfa75:/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; }