We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11faaac commit d0f4343Copy full SHA for d0f4343
1 file changed
server/lib/classes/modules.inc.php
@@ -111,7 +111,7 @@ function processDatalog() {
111
$tmp_sql2 = '';
112
foreach($data['new'] as $fieldname => $val) {
113
$tmp_sql1 .= "`$fieldname`,";
114
- $tmp_sql2 .= "'$val',";
+ $tmp_sql2 .= "'".$app->db->quote($val)."',";
115
}
116
$tmp_sql1 = substr($tmp_sql1,0,-1);
117
$tmp_sql2 = substr($tmp_sql2,0,-1);
0 commit comments