From: Sandor Nagy Date: Wed, 26 Jun 2019 22:27:53 +0000 (+0200) Subject: Fix SQL concatenation for new query log X-Git-Tag: v3.4.0~31^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/6c097d24b1dcb39bf0d1e9b5c4ee4b5a79dde564 Fix SQL concatenation for new query log --- diff --git a/lib/log.php b/lib/log.php index 43e753f0..25ed75cb 100644 --- a/lib/log.php +++ b/lib/log.php @@ -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)'; - $sSQL .= ' values ('. + $sSQL .= ' values ('; $sSQL .= join(',', $oDB->getDBQuotedList(array( $sType, $hLog[0],