diff options
author | Michal Čihař <mcihar@suse.cz> | 2012-04-25 17:25:59 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2012-04-25 17:25:59 +0400 |
commit | 58c1b658e15fcc108fbe59b2350430dbe2c4888c (patch) | |
tree | 443d28b1415d667c0a972536f21ef3284e1da65e /tbl_select.php | |
parent | 76d17be62465f6593ce698c382f3be7e822727b4 (diff) |
Simplify code
Diffstat (limited to 'tbl_select.php')
-rw-r--r-- | tbl_select.php | 2 |
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); |