mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[feature/sql-bool-builder] Also use parenthesis for the NOT operator
Be on the safe side, also use parenthesis for the NOT operator PHPBB3-13652
This commit is contained in:
parent
5c1850e10e
commit
51737be616
1 changed files with 1 additions and 1 deletions
|
@ -831,7 +831,7 @@ abstract class driver implements driver_interface
|
||||||
break;
|
break;
|
||||||
case 'NOT':
|
case 'NOT':
|
||||||
|
|
||||||
$condition = ' NOT ' . $this->_process_boolean_tree($condition);
|
$condition = ' NOT (' . $this->_process_boolean_tree($condition) . ') ';
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue