fixed bug: Undefined variable: num_tables

This commit is contained in:
Sebastian Mendel
2006-01-17 13:00:23 +00:00
parent eac9724926
commit 9518c45bdf
2 changed files with 3 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ $Source$
- added source documentation
- PEAR coding standard
- clarified some variable names
* db_sarch.php:
fixed bug: Undefined variable: num_tables
2006-01-16 Marc Delisle <lem9@users.sourceforge.net>
* server_privileges.php: typo

View File

@@ -22,6 +22,7 @@ $url_params['goto'] = 'db_search.php';
* Get the list of tables from the current database
*/
$tables = PMA_DBI_get_tables($GLOBALS['db']);
$num_tables = count( $tables );
/**
* Displays top links