Add test to avoid PHP warning

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign
2022-09-17 02:16:49 -03:00
parent 45d281cf80
commit 93db592f74

View File

@@ -596,7 +596,7 @@ if ($_POST['action'] == 'get_groups') {
continue;
}
if ($_POST['type'] != '2' && $_POST['type'] != '3') {
if (isset($_POST['type']) && $_POST['type'] != '2' && $_POST['type'] != '3') {
// If not adding a RegEx....
$input = $domain;
// Convert domain name to IDNA ASCII form for international domains