]> git.donarmstrong.com Git - debbugs.git/commitdiff
use CGI::Simple->new()
authorDon Armstrong <don@donarmstrong.com>
Sat, 6 Jul 2019 03:15:38 +0000 (20:15 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sat, 6 Jul 2019 03:15:38 +0000 (20:15 -0700)
cgi/bugreport.cgi

index ad35fd509d7d3550d134312112fc18da03c322ca..088f43b874c24dc6fd9c8ce1599bac32ac4489ba 100755 (executable)
@@ -66,7 +66,7 @@ if (defined $config{database}) {
 }
 
 use CGI::Simple;
-my $q = new CGI::Simple;
+my $q = CGI::Simple->new();
 # STDOUT should be using the utf8 io layer
 binmode(STDOUT,':raw:encoding(UTF-8)');