do not test for isset but strlen on orgname of table

This commit is contained in:
Sebastian Mendel
2006-02-21 09:45:56 +00:00
parent e20205c998
commit 66d910e5bb
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2006-02-21 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* libraries/common.lib.php PMA_getUvaCondition():
do not test for isset but strlen on orgname of table
2006-02-20 Marc Delisle <lem9@users.sourceforge.net>
### 2.8.0-rc1 released

View File

@@ -2287,7 +2287,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 (! isset($meta->orgname)) {
if (! strlen($meta->orgname)) {
$meta->orgname = $meta->name;
if (isset($GLOBALS['analyzed_sql'][0]['select_expr'])