New guestbook 📖

This commit is contained in:
swaggboi 2021-05-02 22:51:15 -04:00
parent e62fce85fd
commit 633bfe28c8

View File

@ -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) {