This commit is contained in:
marcos 2019-12-18 15:30:23 +01:00
parent 91fe85e90e
commit f3ddec4436
1 changed files with 8 additions and 1 deletions

View File

@ -152,7 +152,7 @@ function config_update_config()
switch ($sec2) {
case 'godmode/update_manager/update_manager':
if (!config_update_value('update_manager_proxy_password', io_input_password(get_parameter('update_manager_proxy_password', $config['update_manager_proxy_password'])))) {
if (!config_update_value('update_manager_proxy_password', io_input_password((string) get_parameter('update_manager_proxy_password', $config['update_manager_proxy_password'])))) {
$error_update[] = __('update manager');
}
break;
@ -2902,6 +2902,13 @@ function config_process_config()
);
}
if (!isset($config['update_manager_proxy_password'])) {
config_update_value(
'update_manager_proxy_password',
''
);
}
if (!isset($config['session_timeout'])) {
config_update_value('session_timeout', 90);
}