]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/log.php
add documentation for public interface of SearchDescription
[nominatim.git] / lib-php / log.php
index 723b38efb766c1bf790e3f41fed57466c956f24d..d7e1493263a4ec9f475b81125156a74540cf28f9 100644 (file)
@@ -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;
     }