aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/acp/acp_database.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_database.php b/phpBB/includes/acp/acp_database.php
index e3da57fdfb..ed1dab4fd8 100644
--- a/phpBB/includes/acp/acp_database.php
+++ b/phpBB/includes/acp/acp_database.php
@@ -46,6 +46,11 @@ class acp_database
$format = request_var('method', '');
$where = request_var('where', '');
+ if (!sizeof($table))
+ {
+ trigger_error($user->lang['TABLE_SELECT_ERROR'] . adm_back_link($this->u_action));
+ }
+
$store = $download = $structure = $schema_data = false;
if ($where == 'store_and_download' || $where == 'store')
@@ -144,7 +149,7 @@ class acp_database
}
}
- $extractor->write_end($table_name);
+ $extractor->write_end();
if ($download == true)
{