diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-16 03:49:39 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-16 03:49:39 +0000 |
commit | 72b5583ca949730ed7e18f26a0128654579b945d (patch) | |
tree | d2f1327cfc9d9640695df3b0bd8156db375b4264 /usr | |
parent | 51c9db034d580a48b80b442f99190dae869a0649 (diff) | |
download | pfsense-72b5583ca949730ed7e18f26a0128654579b945d.zip pfsense-72b5583ca949730ed7e18f26a0128654579b945d.tar.gz |
Allow blank syscontact or syslocation items.
Ticket #911
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/services_snmp.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr/local/www/services_snmp.php b/usr/local/www/services_snmp.php index 30eb973..c194e97 100755 --- a/usr/local/www/services_snmp.php +++ b/usr/local/www/services_snmp.php @@ -77,13 +77,7 @@ if ($_POST) { $reqdfieldsn = explode(",", "Polling Port"); do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); - $reqdfields = explode(" ", "syscontact"); - $reqdfieldsn = explode(",", "System contact"); - do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); - - $reqdfields = explode(" ", "syslocation"); - $reqdfieldsn = explode(",", "System location"); - do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); + } if ($_POST['trapenable']) { |