mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02: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:
@@ -831,7 +831,7 @@ abstract class driver implements driver_interface
|
||||
break;
|
||||
case 'NOT':
|
||||
|
||||
$condition = ' NOT ' . $this->_process_boolean_tree($condition);
|
||||
$condition = ' NOT (' . $this->_process_boolean_tree($condition) . ') ';
|
||||
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user