[feature/sql-bool-builder] Fixing misuse of LOGICAL_OP instead of STATEMENTS

PHPBB3-13652
This commit is contained in:
brunoais 2015-11-24 07:31:37 +00:00
parent 335be2e59f
commit a3a163dea1

View file

@ -830,7 +830,7 @@ abstract class driver implements driver_interface
{ {
$operation = $operations_ary[self::LOGICAL_OP]; $operation = $operations_ary[self::LOGICAL_OP];
foreach ($operations_ary[self::LOGICAL_OP] as &$condition) foreach ($operations_ary[self::STATEMENTS] as &$condition)
{ {
switch ($condition[self::LOGICAL_OP]) switch ($condition[self::LOGICAL_OP])
{ {