From 4dd027acd3aedf65c8cc21313612ad084289e0b9 Mon Sep 17 00:00:00 2001 From: dennis Date: Thu, 14 Jul 2022 06:52:26 +0200 Subject: define value even if is undefined --- form.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/form.cgi b/form.cgi index d9db8ba..05bfbd6 100755 --- a/form.cgi +++ b/form.cgi @@ -11,7 +11,7 @@ my $q = CGI->new; # create CGI object my $results; my $user = scalar $ENV{'REMOTE_USER'}; -my $form = scalar $q->param('form'); +my $form = scalar $q->param('form') || ''; # If form has already been submitted if ($q->param('url')) { -- cgit v1.2.3