From a3a163dea1c3ba23a1d3a1c80c4c63c6831c37df Mon Sep 17 00:00:00 2001
From: brunoais <brunoaiss@gmail.com>
Date: Tue, 24 Nov 2015 07:31:37 +0000
Subject: [feature/sql-bool-builder] Fixing misuse of LOGICAL_OP instead of
 STATEMENTS

PHPBB3-13652
---
 phpBB/phpbb/db/driver/driver.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'phpBB/phpbb/db')

diff --git a/phpBB/phpbb/db/driver/driver.php b/phpBB/phpbb/db/driver/driver.php
index a65d8caa52..5f06cb08fc 100644
--- a/phpBB/phpbb/db/driver/driver.php
+++ b/phpBB/phpbb/db/driver/driver.php
@@ -830,7 +830,7 @@ abstract class driver implements driver_interface
 	{
 		$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])
 			{
-- 
cgit v1.2.1