fixed bug #1436058 Notices while browsing table

This commit is contained in:
Sebastian Mendel
2006-02-21 18:12:09 +00:00
parent 03ca5b8846
commit c438a35ac8
2 changed files with 4 additions and 2 deletions

View File

@@ -2204,7 +2204,7 @@ window.parent.updateTableTitle('<?php echo $uni_tbl; ?>', '<?php echo PMA_jsForm
$meta = $fields_meta[$i];
// do not use an alias in a condition
if (! strlen($meta->orgname)) {
if (! isset($meta->orgname) || ! strlen($meta->orgname)) {
$meta->orgname = $meta->name;
if (isset($GLOBALS['analyzed_sql'][0]['select_expr'])