Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2012-04-25 17:25:59 +0400
committerMichal Čihař <mcihar@suse.cz>2012-04-25 17:25:59 +0400
commit58c1b658e15fcc108fbe59b2350430dbe2c4888c (patch)
tree443d28b1415d667c0a972536f21ef3284e1da65e /tbl_select.php
parent76d17be62465f6593ce698c382f3be7e822727b4 (diff)
Simplify code
Diffstat (limited to 'tbl_select.php')
-rw-r--r--tbl_select.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbl_select.php b/tbl_select.php
index 1ead3fd113..7ce548da98 100644
--- a/tbl_select.php
+++ b/tbl_select.php
@@ -299,7 +299,7 @@ echo PMA_generate_html_tabs(PMA_tbl_getSubTabs(), $url_params, '', 'topmenu2');
while (list($i, $func_type) = each($func)) {
list($charsets[$i]) = explode('_', $collations[$i]);
- $unaryFlag = $GLOBALS['PMA_Types']->isUnaryOperator($func_type) ? true : false;
+ $unaryFlag = $GLOBALS['PMA_Types']->isUnaryOperator($func_type);
$tmp_geom_func = isset($geom_func[$i]) ? $geom_func[$i] : null;
$whereClause = PMA_tbl_search_getWhereClause($fields[$i], $names[$i], $types[$i], $collations[$i], $func_type, $unaryFlag, $tmp_geom_func);