From afa4c8897efdc5ea85aa4ba0ca08a4d7df454c46 Mon Sep 17 00:00:00 2001 From: minhaz Date: Sun, 9 Feb 2014 02:16:41 +0530 Subject: [PATCH] bug fix 4271 Signed-off-by: A V Minhaz Signed-off-by: Marc Delisle --- libraries/DBQbe.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/DBQbe.class.php b/libraries/DBQbe.class.php index 0c88ca7d58..94b8274ac8 100644 --- a/libraries/DBQbe.class.php +++ b/libraries/DBQbe.class.php @@ -967,18 +967,18 @@ class PMA_DbQbe $column_index++ ) { if (! empty($this->_curField[$column_index]) - && ! empty(${'curOr' . $row_index}[$column_index]) + && ! empty($_REQUEST['Or' .$row_index][$column_index]) && $column_index ) { $qry_orwhere .= ' ' . strtoupper($this->_curAndOrCol[$last_orwhere]) . ' '; } if (! empty($this->_curField[$column_index]) - && ! empty(${'curOr' . $row_index}[$column_index]) + && ! empty($_REQUEST['Or' .$row_index][$column_index]) ) { $qry_orwhere .= '(' . $this->_curField[$column_index] . ' ' - . ${'curOr' . $row_index}[$column_index] + . $_REQUEST['Or' .$row_index][$column_index] . ')'; $last_orwhere = $column_index; $criteria_cnt++;