From 6c097d24b1dcb39bf0d1e9b5c4ee4b5a79dde564 Mon Sep 17 00:00:00 2001 From: Sandor Nagy Date: Thu, 27 Jun 2019 00:27:53 +0200 Subject: [PATCH] Fix SQL concatenation for new query log --- lib/log.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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], -- 2.39.5