Fix search component group passing invalid get params

This commit is contained in:
Calvo 2021-07-13 11:12:06 +02:00
parent 56c22bec11
commit c0a4ba5cb4
1 changed files with 2 additions and 1 deletions

View File

@ -560,7 +560,7 @@ if ($multiple_delete) {
$id = 0; $id = 0;
} }
if ($id || $new_component if ((bool) $id !== false || $new_component
|| $create_network_from_module || $create_network_from_module
|| $create_network_from_snmp_browser || $create_network_from_snmp_browser
) { ) {
@ -577,6 +577,7 @@ $url = ui_get_url_refresh(
'offset' => false, 'offset' => false,
'search_string' => $search_string, 'search_string' => $search_string,
'search_id_group' => $search_id_group, 'search_id_group' => $search_id_group,
'id' => $id,
], ],
true, true,
false false