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ř <michal@cihar.com>2012-04-26 11:53:55 +0400
committerMichal Čihař <michal@cihar.com>2012-04-26 11:53:55 +0400
commitd5fba335e1659f1bebfff3d2e68e656246a824cf (patch)
treea62c7b21b0d3ec8520cf234123e70b2944702249 /tbl_select.php
parent0470f942ec11c7a92ab14ee3c95f8b9b5f62262d (diff)
parent58c1b658e15fcc108fbe59b2350430dbe2c4888c (diff)
Merge pull request #47 from nijel/master
Types class preview
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 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);