diff options
author | Michal Čihař <michal@cihar.com> | 2012-04-26 11:53:55 +0400 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2012-04-26 11:53:55 +0400 |
commit | d5fba335e1659f1bebfff3d2e68e656246a824cf (patch) | |
tree | a62c7b21b0d3ec8520cf234123e70b2944702249 /tbl_select.php | |
parent | 0470f942ec11c7a92ab14ee3c95f8b9b5f62262d (diff) | |
parent | 58c1b658e15fcc108fbe59b2350430dbe2c4888c (diff) |
Merge pull request #47 from nijel/master
Types class preview
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 2e4d9c3380..fcdc80cc3e 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 = (isset($GLOBALS['cfg']['UnaryOperators'][$func_type]) && $GLOBALS['cfg']['UnaryOperators'][$func_type] == 1) ? 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); |