Skip to content

Commit

Permalink
Fix coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Delisle committed Nov 10, 2013
1 parent 5bd1983 commit 329e408
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions libraries/TableSearch.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,7 @@ private function _getWhereClause($criteriaValues, $names, $types, $collations,
$criteriaValues = '^' . $criteriaValues . '$';
}

if (
'IN (...)' == $func_type
if ('IN (...)' == $func_type
|| 'NOT IN (...)' == $func_type
|| 'BETWEEN' == $func_type
|| 'NOT BETWEEN' == $func_type
Expand Down Expand Up @@ -935,7 +934,9 @@ public function getColumnProperties($search_index, $column_index)
$type = $this->_columnTypes[$column_index];
$collation = $this->_columnCollations[$column_index];
//Gets column's comparison operators depending on column type
$func = '<select name="criteriaColumnOperators[' . $search_index . ']" onchange="changeValueFieldType(this, ' . $search_index . ')">';
$func = '<select name="criteriaColumnOperators['
. $search_index . ']" onchange="changeValueFieldType(this, '
. $search_index . ')">';
$func .= $GLOBALS['PMA_Types']->getTypeOperatorsHtml(
preg_replace('@\(.*@s', '', $this->_columnTypes[$column_index]),
$this->_columnNullFlags[$column_index], $selected_operator
Expand Down

0 comments on commit 329e408

Please sign in to comment.