Skip to content

Commit a77bf58

Browse files
committed
Fix warning php8
1 parent 91c0125 commit a77bf58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

require/ipdiscover/Ipdiscover.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function form_add_subnet($title = '', $default_value, $form, $is_tag_link
110110
foreach ($tab_typ_champ as $id => $values) {
111111
$tab_typ_champ[$id]['CONFIG']['SIZE'] = 30;
112112
if($tab_typ_champ[$id]["INPUT_TYPE"] == 2) {
113-
$tab_typ_champ[$id]['CONFIG']['SELECTED_VALUE'] = $post[$tab_typ_champ[$id]['INPUT_NAME']];
113+
$tab_typ_champ[$id]['CONFIG']['SELECTED_VALUE'] = $post[$tab_typ_champ[$id]['INPUT_NAME']] ?? '';
114114
}
115115
}
116116

0 commit comments

Comments
 (0)