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

@@ -34,6 +34,8 @@ $Source$
* libraries/relation.lib.php:
check if $cfg['Server']['pmadb'] really exists and is selectable,
minor tweaks and formating
* libraries/common.lib.php PMA_getUvaCondition():
fixed bug #1436058 Notices while browsing table
2006-02-20 Marc Delisle <lem9@users.sourceforge.net>
### 2.8.0-rc1 released from QA_2_8 branch

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'])