]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/log.php
Reverse geocode include geometry - added bounding box tests
[nominatim.git] / lib / log.php
index b08f5383df26491f50492cd2ff1ae7104db94b41..37d83c4771fdb410a46290de8cb60cc8eedb1346 100644 (file)
@@ -3,7 +3,7 @@
        function logStart(&$oDB, $sType = '', $sQuery = '', $aLanguageList = array())
        {
                $aStartTime = explode('.',microtime(true));
-               if (!$aStartTime[1]) $aStartTime[1] = '0';
+               if (!isset($aStartTime[1])) $aStartTime[1] = '0';
 
                $sOutputFormat = '';
                if (isset($_GET['format'])) $sOutputFormat = $_GET['format'];