From 07ab49263081cfee783b54557e4a373462486e95 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 22 Nov 2009 20:02:39 -0500 Subject: Update fieldname, it should be hostname and not host Ticket #159 --- usr/local/www/services_dhcp_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/services_dhcp_edit.php') diff --git a/usr/local/www/services_dhcp_edit.php b/usr/local/www/services_dhcp_edit.php index 483675a..1124e8f 100755 --- a/usr/local/www/services_dhcp_edit.php +++ b/usr/local/www/services_dhcp_edit.php @@ -109,7 +109,7 @@ if ($_POST) { /* normalize MAC addresses - lowercase and convert Windows-ized hyphenated MACs to colon delimited */ $_POST['mac'] = strtolower(str_replace("-", ":", $_POST['mac'])); - if (($_POST['host'] && !is_hostname($_POST['host']))) { + if (($_POST['hostname'] && !is_hostname($_POST['hostname']))) { $input_errors[] = "A valid host name must be specified."; } if (($_POST['ipaddr'] && !is_ipaddr($_POST['ipaddr']))) { -- cgit v1.1