do not test for isset but strlen on orgname of table
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$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>
|
2006-02-20 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
### 2.8.0-rc1 released
|
### 2.8.0-rc1 released
|
||||||
|
|
||||||
|
@@ -2287,7 +2287,7 @@ window.parent.updateTableTitle('<?php echo $uni_tbl; ?>', '<?php echo PMA_jsForm
|
|||||||
$meta = $fields_meta[$i];
|
$meta = $fields_meta[$i];
|
||||||
|
|
||||||
// do not use an alias in a condition
|
// do not use an alias in a condition
|
||||||
if (! isset($meta->orgname)) {
|
if (! strlen($meta->orgname)) {
|
||||||
$meta->orgname = $meta->name;
|
$meta->orgname = $meta->name;
|
||||||
|
|
||||||
if (isset($GLOBALS['analyzed_sql'][0]['select_expr'])
|
if (isset($GLOBALS['analyzed_sql'][0]['select_expr'])
|
||||||
|
Reference in New Issue
Block a user