Fixed importlist.cgi
authorAndrew DeFaria <Andrew@DeFaria.com>
Tue, 18 Aug 2020 11:09:58 +0000 (04:09 -0700)
committerAndrew DeFaria <Andrew@DeFaria.com>
Tue, 18 Aug 2020 11:09:58 +0000 (04:09 -0700)
Also turned of exec bit on WellsFargo

maps/bin/importlist.cgi
rc/client_scripts/WellsFargo [changed mode: 0755->0644]

index 6f4e5f3..495da15 100755 (executable)
@@ -32,11 +32,14 @@ my $userid =   cookie('MAPSUser');
    $userid //= $ENV{USER};
 my $Userid =   ucfirst $userid;
 
+my $type = param 'type';
+my $file = param 'file';
+
 my %opts = (
   usage => sub { pod2usage },
   help  => sub { pod2usage (-verbose => 2)},
-  type  => param('type'),
-  file  => param('file'),
+  type  => $type,
+  file  => $file,
 );
 
 sub importList ($) {
old mode 100755 (executable)
new mode 100644 (file)