From 433bfc8eaf11ccc3e9b947cbb34ff04a14b8cc7a Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 2 Nov 2007 17:39:37 +0000 Subject: [PATCH] fix Notice --- tbl_select.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tbl_select.php b/tbl_select.php index d6c5acb7a..380c8ed13 100644 --- a/tbl_select.php +++ b/tbl_select.php @@ -349,7 +349,7 @@ else { reset($func); while (list($i, $func_type) = each($func)) { list($charsets[$i]) = explode('_', $collations[$i]); - if (@$GLOBALS['cfg']['UnaryOperators'][$func_type] == 1) { + if (isset($GLOBALS['cfg']['UnaryOperators'][$func_type]) && $GLOBALS['cfg']['UnaryOperators'][$func_type] == 1) { $fields[$i] = ''; $w[] = PMA_backquote(urldecode($names[$i])) . ' ' . $func_type;