fix minor error

Former-commit-id: 81b5c41c49a5e121c5ac34c12bfd5b1b7f5f943a
This commit is contained in:
daniel 2019-02-26 08:44:50 +01:00
parent 88202977fa
commit d4c46ec14f
1 changed files with 8 additions and 0 deletions

View File

@ -755,6 +755,10 @@ function config_update_config()
if (!config_update_value('max_graph_container', get_parameter('max_graph_container'))) { if (!config_update_value('max_graph_container', get_parameter('max_graph_container'))) {
$error_update[] = __('Graph container - Max. Items'); $error_update[] = __('Graph container - Max. Items');
} }
if (!config_update_value('max_execution_event_response', get_parameter('max_execution_event_response'))) {
$error_update[] = __('Max execution event response');
}
break; break;
case 'vis': case 'vis':
@ -1547,6 +1551,10 @@ function config_process_config()
config_update_value('max_graph_container', 10); config_update_value('max_graph_container', 10);
} }
if (!isset($config['max_execution_event_response'])) {
config_update_value('max_execution_event_response', 10);
}
if (!isset($config['max_macro_fields'])) { if (!isset($config['max_macro_fields'])) {
config_update_value('max_macro_fields', 10); config_update_value('max_macro_fields', 10);
} }