Merge branch 'ent-6678-Bug-en-select-de-nodos-de-TODOS-los-items-en-metaconsola' into 'develop'

Fix combo server in reports builder

See merge request artica/pandorafms!3589
This commit is contained in:
Daniel Rodriguez 2020-10-30 14:43:38 +01:00
commit d171d84595
1 changed files with 5 additions and 5 deletions

View File

@ -1813,11 +1813,9 @@ switch ($action) {
); );
$values['id_group'] = get_parameter('combo_group'); $values['id_group'] = get_parameter('combo_group');
if ($values['server_name'] == '') { $values['server_name'] = get_parameter(
$values['server_name'] = get_parameter( 'combo_server'
'combo_server' );
);
}
if ((($values['type'] == 'custom_graph') if ((($values['type'] == 'custom_graph')
|| ($values['type'] == 'automatic_custom_graph')) || ($values['type'] == 'automatic_custom_graph'))
@ -2354,6 +2352,8 @@ switch ($action) {
break; break;
} }
hd($values['server_name']);
hd(2);
if ($values['server_name'] == '') { if ($values['server_name'] == '') {
$values['server_name'] = get_parameter( $values['server_name'] = get_parameter(
'combo_server' 'combo_server'