This commit is contained in:
Jamie Cameron
2012-07-23 10:40:39 -07:00
parent c98d983d51
commit 6c035c66d1

View File

@@ -48,7 +48,7 @@ else {
&error_setup($text{'shost_failsave'});
# Validate and save inputs
$in{'name'} =~ /^[a-z0-9\.\-]+$/i ||
$in{'name'} =~ /^[a-z0-9\.\-\_]+$/i ||
&error("'$in{'name'}' $text{'shost_invalidhn'}");
$host->{'comment'} = $in{'desc'};