]> git.ipfire.org Git - people/jschlag/ipfire-2.x.git/blobdiff - html/cgi-bin/vpn-cert.cgi
Fix error
[people/jschlag/ipfire-2.x.git] / html / cgi-bin / vpn-cert.cgi
index dbf8c4d06a31482df90494845c0561a18eeae6c4..42bc50105646db550646495f5364fcaa8e6e69d5 100644 (file)
@@ -65,12 +65,12 @@ my $tmpl = HTML::Template->new(
 &Header::getcgihash(\%cgiparams);
 
 
-if (($cgiparams{'action'} eq "showcert" ||
-    $cgiparams{'action'} eq "showCaCert" ||
-    $cgiparams{'action'} eq "showRootCert" ||
-    $cgiparams{'action'} eq "showHostCert" )) {
+if (($cgiparams{'ACTION'} eq "showcert" ||
+    $cgiparams{'ACTION'} eq "showCaCert" ||
+    $cgiparams{'ACTION'} eq "showRootCert" ||
+    $cgiparams{'ACTION'} eq "showHostCert" )) {
 
-        my $action = $cgiparams{'action'};
+        my $action = $cgiparams{'ACTION'};
         my $file = "";
 
         if ($action eq "showRootCert"){