Merge branch 'ent-8163-bug-en-item-alert-report-metaconsola' into 'develop'

Fix server name item on reporting buider

See merge request artica/pandorafms!4525
This commit is contained in:
Daniel Rodriguez 2021-11-17 15:15:42 +00:00
commit 495d8d8db8
1 changed files with 5 additions and 3 deletions

View File

@ -1970,9 +1970,11 @@ switch ($action) {
);
$values['id_group'] = get_parameter('combo_group');
$values['server_name'] = get_parameter(
'combo_server'
);
if ($values['server_name'] == '') {
$values['server_name'] = get_parameter(
'combo_server'
);
}
if ((($values['type'] == 'custom_graph')
|| ($values['type'] == 'automatic_custom_graph'))