From 5cb599c055178bb6fc5ba13c2fb4ea3c3073b72b Mon Sep 17 00:00:00 2001 From: swaggboi Date: Fri, 2 Sep 2022 23:28:41 -0400 Subject: [PATCH] Lil clean-up --- PostText.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/PostText.pl b/PostText.pl index 26930d7..5259c5a 100755 --- a/PostText.pl +++ b/PostText.pl @@ -104,12 +104,11 @@ group { $v = $c->validation if $c->req->method eq 'POST'; if ($v && $v->has_data) { - my $remark_name = $c->param('name'); my $remark_body = $c->param('post'); - $v->required('name' )->size(1, 63 ); - $v->required('post' )->size(2, 4000); + $v->required('name')->size(1, 63 ); + $v->required('post')->size(2, 4000); if ($v->has_error) { $c->stash(status => 400)