Skip to content

Commit

Permalink
Merge pull request from GHSA-vjph-r677-6pcc
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Apr 7, 2024
1 parent 28bb620 commit 52a5b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api_automation.php
Expand Up @@ -1566,7 +1566,7 @@ function build_graph_object_sql_having($rule, $filter) {
$i = 0;

foreach($field_names as $column) {
$sql_having .= ($i == 0 ? '':' OR ') . '`' . implode('`.`', explode('.', $column['field_name'])) . '`' . ' LIKE "%' . $filter . '%"';
$sql_having .= ($i == 0 ? '':' OR ') . '`' . implode('`.`', explode('.', $column['field_name'])) . '`' . ' LIKE ' . db_qstr('%' . $filter . '%');
$i++;
}

Expand Down

0 comments on commit 52a5b6b

Please sign in to comment.