mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 14:48:53 +00:00
[ticket/12639] Add a space in the code generated by generate_sql_keyword()
PHPBB3-12639
This commit is contained in:
parent
f980fed5d2
commit
fb46e42ab3
1 changed files with 2 additions and 2 deletions
|
@ -394,7 +394,7 @@ class log implements \phpbb\log\log_interface
|
|||
|
||||
if (isset($conditions['keywords']))
|
||||
{
|
||||
$sql_where .= $this->generate_sql_keyword($conditions['keywords'], '', ' AND');
|
||||
$sql_where .= $this->generate_sql_keyword($conditions['keywords'], '');
|
||||
|
||||
unset($conditions['keywords']);
|
||||
}
|
||||
|
@ -782,7 +782,7 @@ class log implements \phpbb\log\log_interface
|
|||
}
|
||||
}
|
||||
|
||||
$sql_keywords = $statement_operator . ' (';
|
||||
$sql_keywords = ' ' . $statement_operator . ' (';
|
||||
if (!empty($operations))
|
||||
{
|
||||
$sql_keywords .= $this->db->sql_in_set($table_alias . 'log_operation', $operations) . ' OR ';
|
||||
|
|
Loading…
Add table
Reference in a new issue