--- dba.module.old	2007-10-16 06:58:01.000000000 +0800
+++ dba.module	2007-10-19 07:28:00.000000000 +0800
@@ -80,6 +80,7 @@ function dba_menu($may_cache) {
     $tables = dba_get_active_tables(0);
     if (!empty($tables) && count($tables) == 1) {
       // You can only view or describe one table at a time.
+      $table = $tables[0];        
 
       // Regular subtabs.
       $items[] = array(
