- $sSQL .= ' values ('.getDBQuoted($sType).','.getDBQuoted($hLog[0]).','.getDBQuoted($hLog[2]);
- $sSQL .= ','.getDBQuoted($hLog[1]).','.getDBQuoted($sUserAgent).','.getDBQuoted(join(',',$aLanguageList)).','.getDBQuoted($sOutputFormat).','.getDBQuoted($hLog[3]).')';
- $oDB->query($sSQL);
+ $sSQL .= ' values (';
+ $sSQL .= join(',', $oDB->getDBQuotedList(array(
+ $sType,
+ $hLog[0],
+ $hLog[2],
+ $hLog[1],
+ $sUserAgent,
+ join(',', $aLanguageList),
+ $sOutputFormat,
+ $hLog[3]
+ )));
+ $sSQL .= ')';
+ $oDB->exec($sSQL);