mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 20:38:52 +00:00
- some stupid bugs
git-svn-id: file:///svn/phpbb/trunk@6994 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4044156286
commit
ec9a091669
2 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -62,6 +62,7 @@ $lang = array_merge($lang, array(
|
|||
'STRUCTURE_ONLY' => 'Structure only',
|
||||
|
||||
'TABLE_SELECT' => 'Table select',
|
||||
'TABLE_SELECT_ERROR'=> 'You must select at least one table.',
|
||||
));
|
||||
|
||||
?>
|
Loading…
Add table
Reference in a new issue