From c1d00335625f23c60d466d06c23f5f2f9e08024c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Sun, 26 Apr 2009 15:18:38 +0000 Subject: Comment check out seems something is not well with php. --- usr/local/www/interfaces_groups_edit.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr/local/www') 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."; -- cgit v1.1