1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-21 00:02:18 +02:00

[feature/sql-bool-builder] Fixing typos in previous commit

PHPBB3-13652
This commit is contained in:
brunoais 2015-11-12 06:52:34 +00:00
parent 9725f5757e
commit 335be2e59f

View File

@ -830,7 +830,7 @@ abstract class driver implements driver_interface
{
$operation = $operations_ary[self::LOGICAL_OP];
foreach ($operations_ary[1] as &$condition)
foreach ($operations_ary[self::LOGICAL_OP] as &$condition)
{
switch ($condition[self::LOGICAL_OP])
{
@ -859,7 +859,7 @@ abstract class driver implements driver_interface
case 'NOT_IN':
// As this is used with an IN, assume it is a set of elements for sql_in_set()
$condition = $this->sql_in_set($condition[self::LEFT_STMT], $condition[self::RIGHT_STMT], $condition[Cself::OMPARE_OP] === 'NOT_IN', true);
$condition = $this->sql_in_set($condition[self::LEFT_STMT], $condition[self::RIGHT_STMT], $condition[self::COMPARE_OP] === 'NOT_IN', true);
break;