]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/log.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / lib / log.php
index 43e753f00a977aca072f7c361d88306d5f6aa016..25ed75cb2c7117411d013a5b78931129496cfec3 100644 (file)
@@ -36,7 +36,7 @@ function logStart(&$oDB, $sType = '', $sQuery = '', $aLanguageList = array())
             $sUserAgent = $_SERVER['HTTP_USER_AGENT'];
         else $sUserAgent = '';
         $sSQL = 'insert into new_query_log (type,starttime,query,ipaddress,useragent,language,format,searchterm)';
             $sUserAgent = $_SERVER['HTTP_USER_AGENT'];
         else $sUserAgent = '';
         $sSQL = 'insert into new_query_log (type,starttime,query,ipaddress,useragent,language,format,searchterm)';
-        $sSQL .= ' values ('.
+        $sSQL .= ' values (';
         $sSQL .= join(',', $oDB->getDBQuotedList(array(
             $sType,
             $hLog[0],
         $sSQL .= join(',', $oDB->getDBQuotedList(array(
             $sType,
             $hLog[0],