bug 879792

This commit is contained in:
Marc Delisle
2004-01-25 13:18:19 +00:00
parent 486c038095
commit 1bb4a951a4
2 changed files with 3 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ $Source$
2004-01-25 Marc Delisle <lem9@users.sourceforge.net>
* tbl_row_delete.php: bug 882695, broken row highlighting
* libraries/display_tbl.lib.php: bug 879792, bad sort link
2004-01-24 Marc Delisle <lem9@users.sourceforge.net>
* querywindow.php: PMA_DBI_close() instead of DBI_close()

View File

@@ -752,7 +752,8 @@ function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $
|| ( isset($analyzed_sql[0]['select_expr'][$i]['expr'])
&& isset($analyzed_sql[0]['select_expr'][$i]['column'])
&& $analyzed_sql[0]['select_expr'][$i]['expr'] !=
$analyzed_sql[0]['select_expr'][$i]['column']) ) {
$analyzed_sql[0]['select_expr'][$i]['column']
&& !empty($fields_meta[$i]->table)) ) {
$sort_tbl = PMA_backquote($fields_meta[$i]->table) . '.';
} else {
$sort_tbl = '';