From d4aab1ebc150879526c4b3abb2fa3754f071094f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 28 Mar 2007 22:13:40 +0000 Subject: is_validaliasname() will not allow _, remove that from the allowed description. If we want to allow _ then a new function will have to be created in place of is_validaliasname() --- usr/local/www/firewall_schedule_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr') diff --git a/usr/local/www/firewall_schedule_edit.php b/usr/local/www/firewall_schedule_edit.php index 91fabd0..36dff5e 100644 --- a/usr/local/www/firewall_schedule_edit.php +++ b/usr/local/www/firewall_schedule_edit.php @@ -74,7 +74,7 @@ if ($_POST) { $input_errors[] = "Reserved word used for schedule name."; } else { if (is_validaliasname($_POST['name']) == false) - $input_errors[] = "The schedule name may only consist of the characters a-z, A-Z, 0-9, -, _."; + $input_errors[] = "The schedule name may only consist of the characters a-z, A-Z, 0-9, -"; } if (!$_POST['schedule0']) -- cgit v1.1