mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +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;
|
break;
|
||||||
case 'NOT':
|
case 'NOT':
|
||||||
|
|
||||||
$condition = ' NOT ' . $this->_process_boolean_tree($condition);
|
$condition = ' NOT (' . $this->_process_boolean_tree($condition) . ') ';
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user