New guestbook 📖
This commit is contained in:
parent
e62fce85fd
commit
633bfe28c8
|
@ -124,7 +124,7 @@ sub params_in {
|
|||
my $message = $q->param("message");
|
||||
|
||||
# Enforce max length for params
|
||||
if (length($name) < 1 || (length($name) >= 40)) {
|
||||
if (length($name) < 1 || length($name) >= 40) {
|
||||
die "Name field must be between 1 and 40 characters\n"
|
||||
}
|
||||
elsif (length($location) < 1 || length($location) >= 40) {
|
||||
|
|
Loading…
Reference in a new issue