From ec9a091669e37b799c0fa66f81ccca1ca434afdb Mon Sep 17 00:00:00 2001 From: David M Date: Fri, 16 Feb 2007 20:37:12 +0000 Subject: - some stupid bugs git-svn-id: file:///svn/phpbb/trunk@6994 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/acp/acp_database.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'phpBB/includes') 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) { -- cgit v1.2.1