diff options
author | Marc Delisle <marc@infomarc.info> | 2004-09-23 01:38:54 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2004-09-23 01:38:54 +0400 |
commit | 32d7197fa9873ad39efd6c2eb7350586e2ee3d98 (patch) | |
tree | cbb846ae6e1389b8c156aecbd20731b0b4be8347 /read_dump.php | |
parent | 560447e2c74fe6cff1a85d411404fbb3fa8eb687 (diff) |
bug #1032066 Import Files has no submit
Diffstat (limited to 'read_dump.php')
-rw-r--r-- | read_dump.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/read_dump.php b/read_dump.php index f89cf30402..527913de50 100644 --- a/read_dump.php +++ b/read_dump.php @@ -254,7 +254,9 @@ if ($sql_query != '') { } // Runs multiple queries - else if (PMA_DBI_select_db($db)) { + // (Possibly to create a db, so no db was selected in the + // left frame and $db is empty) + else if (empty($db) || PMA_DBI_select_db($db)) { $mult = TRUE; $info_msg = ''; $info_count = 0; |