diff options
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/interfaces_groups_edit.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_groups_edit.php b/usr/local/www/interfaces_groups_edit.php index 6875885..a67359f 100755 --- a/usr/local/www/interfaces_groups_edit.php +++ b/usr/local/www/interfaces_groups_edit.php @@ -59,11 +59,13 @@ if ($_POST) { unset($input_errors); $pconfig = $_POST; + /* if (empty($id)) { foreach ($a_ifgroups as $groupentry) if ($groupentry['ifname'] == $_POST['ifname']) $input_errors[] = "Group name already exists!"; } + */ if (preg_match("/([^a-zA-Z])+/", $_POST['ifname'], $match)) $input_errors[] = "Only characters in a-z A-Z are allowed as interface name."; |