diff --git a/ChangeLog b/ChangeLog index 939b96331..8774a3415 100755 --- a/ChangeLog +++ b/ChangeLog @@ -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 * server_privileges.php: typo diff --git a/db_search.php b/db_search.php index 33df2838b..1009eb5f8 100644 --- a/db_search.php +++ b/db_search.php @@ -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