File: includes/acp/acp_database.php
Unmodified
Added
Modified
Removed
Line 38 | Line 38 |
---|
$action = request_var('action', ''); $submit = (isset($_POST['submit'])) ? true : false;
|
$action = request_var('action', ''); $submit = (isset($_POST['submit'])) ? true : false;
|
| $form_key = 'acp_database'; add_form_key($form_key);
|
$template->assign_vars(array( 'MODE' => $mode
| $template->assign_vars(array( 'MODE' => $mode
|
Line 60 | Line 63 |
---|
if (!sizeof($table)) { trigger_error($user->lang['TABLE_SELECT_ERROR'] . adm_back_link($this->u_action), E_USER_WARNING);
|
if (!sizeof($table)) { trigger_error($user->lang['TABLE_SELECT_ERROR'] . adm_back_link($this->u_action), E_USER_WARNING);
|
| }
if (!check_form_key($form_key)) { trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
}
$store = $download = $structure = $schema_data = false;
| }
$store = $download = $structure = $schema_data = false;
|
Line 1558 | Line 1566 |
---|
{ $this->write_data_mssql($table_name); }
|
{ $this->write_data_mssql($table_name); }
|
else if($db->get_sql_layer() === 'mssqlnative')
| else if ($db->get_sql_layer() === 'mssqlnative')
|
{ $this->write_data_mssqlnative($table_name); }
| { $this->write_data_mssqlnative($table_name); }
|