diff --git a/ChangeLog b/ChangeLog index 025a252bf..d9c157aa6 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ $Source$ not a SELECT * sql.php3: better way to show php code * sql.php3: bug 580920: do not display the confirm dialog + * db_details_links.php3: undefined variable if coming from a Show MySQL + link on the home page 2002-07-13 Alexander M. Turek * Documentation.html: News about bug #540671. diff --git a/db_details_links.php3 b/db_details_links.php3 index 14d6312a6..8d168f713 100644 --- a/db_details_links.php3 +++ b/db_details_links.php3 @@ -7,6 +7,13 @@ */ $db_details_links_count_tabs = 0; +/** + * If coming from a Show MySQL link on the home page, + * put something in $sub_part + */ +if (empty($sub_part)) { + $sub_part='_structure'; +} /** * Prepares links