From a77bf58ac6b603c0c195fffb1b814aec4d0aef1c Mon Sep 17 00:00:00 2001 From: Charlene Auger Date: Fri, 24 Jun 2022 10:57:05 +0200 Subject: [PATCH] Fix warning php8 --- require/ipdiscover/Ipdiscover.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/require/ipdiscover/Ipdiscover.php b/require/ipdiscover/Ipdiscover.php index b1514aa61..46752e460 100644 --- a/require/ipdiscover/Ipdiscover.php +++ b/require/ipdiscover/Ipdiscover.php @@ -110,7 +110,7 @@ public function form_add_subnet($title = '', $default_value, $form, $is_tag_link foreach ($tab_typ_champ as $id => $values) { $tab_typ_champ[$id]['CONFIG']['SIZE'] = 30; if($tab_typ_champ[$id]["INPUT_TYPE"] == 2) { - $tab_typ_champ[$id]['CONFIG']['SELECTED_VALUE'] = $post[$tab_typ_champ[$id]['INPUT_NAME']]; + $tab_typ_champ[$id]['CONFIG']['SELECTED_VALUE'] = $post[$tab_typ_champ[$id]['INPUT_NAME']] ?? ''; } }