fix Notice

This commit is contained in:
Marc Delisle
2007-11-02 17:39:37 +00:00
parent a4be8e0efd
commit 433bfc8eaf

View File

@@ -349,7 +349,7 @@ else {
reset($func); reset($func);
while (list($i, $func_type) = each($func)) { while (list($i, $func_type) = each($func)) {
list($charsets[$i]) = explode('_', $collations[$i]); 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] = ''; $fields[$i] = '';
$w[] = PMA_backquote(urldecode($names[$i])) . ' ' . $func_type; $w[] = PMA_backquote(urldecode($names[$i])) . ' ' . $func_type;