avoid undefined variable

This commit is contained in:
Marc Delisle
2002-07-13 21:32:14 +00:00
parent e48b01dea3
commit 02257a61cc
2 changed files with 9 additions and 0 deletions

View File

@@ -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 <rabus@users.sourceforge.net>
* Documentation.html: News about bug #540671.

View File

@@ -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