Merge branch '3597-Pequeno_arreglo_config_732' into 'develop'
fix minor error See merge request artica/pandorafms!2202 Former-commit-id: fded71effc82a3ffde4d3a003f6f090f9e8e4b9f
This commit is contained in:
commit
33235b26d3
|
@ -755,6 +755,10 @@ function config_update_config()
|
|||
if (!config_update_value('max_graph_container', get_parameter('max_graph_container'))) {
|
||||
$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;
|
||||
|
||||
case 'vis':
|
||||
|
@ -1547,6 +1551,10 @@ function config_process_config()
|
|||
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'])) {
|
||||
config_update_value('max_macro_fields', 10);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue