mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/15293] Prevent continuing to database update on incomplete file update
PHPBB3-15293
This commit is contained in:
@@ -186,6 +186,7 @@ class ajax_iohandler extends iohandler_base
|
||||
$tpl_ary['TITLE'] = $this->language->lang($input_options['label']);
|
||||
$tpl_ary['KEY'] = $input_name;
|
||||
$tpl_ary['S_EXPLAIN'] = false;
|
||||
$tpl_ary['DISABLED'] = isset($input_options['disabled']) ? $input_options['disabled'] : false;
|
||||
|
||||
if (isset($input_options['default']))
|
||||
{
|
||||
@@ -219,6 +220,11 @@ class ajax_iohandler extends iohandler_base
|
||||
|
||||
$this->template->assign_var('S_NOT_ONLY_BUTTON_FORM', $not_button_form);
|
||||
|
||||
if (!$not_button_form)
|
||||
{
|
||||
$this->template->destroy_block_vars('options');
|
||||
}
|
||||
|
||||
$this->template->set_filenames(array(
|
||||
'form_install' => 'installer_form.html',
|
||||
));
|
||||
|
Reference in New Issue
Block a user