Se vuelve a crear la rama

Former-commit-id: 8ac69d4e1d15be23411faff82dc2bddcfcf7f7b6
This commit is contained in:
marcos.alconada 2019-05-09 14:59:47 +02:00
parent c775d0359c
commit e0729b6ca6
3 changed files with 3 additions and 1107 deletions

View File

@ -52,8 +52,9 @@ $table_enable->style['name'] = 'font-weight: bold';
// Enable eHorus.
$row = [];
$row['name'] = __('Enable eHorus');
$row['name'] = ('Enable eHorus');
$row['control'] = html_print_checkbox_switch('ehorus_enabled', 1, $config['ehorus_enabled'], true);
$row['button'] = html_print_submit_button(('Update'), 'update_button', false, 'class="sub upd"', true);
$table_enable->data['ehorus_enabled'] = $row;
// Remote config table.

View File

@ -1349,7 +1349,7 @@ function config_update_config()
break;
case 'ehorus':
if (!config_update_value('ehorus_enabled', (int) get_parameter('ehorus_enabled', $config['ehorus_enabled']))) {
if (!config_update_value('ehorus_enabled', (int) get_parameter('ehorus_enabled', 0))) {
$error_update[] = __('Enable eHorus');
}

File diff suppressed because it is too large Load Diff