diff --git a/pages/account/19.php b/pages/account/19.php index 9ad474d..1f2264f 100644 --- a/pages/account/19.php +++ b/pages/account/19.php @@ -33,9 +33,9 @@ $crtname=escapeshellarg($row['crt_name']); $cert = `/usr/bin/openssl x509 -in $crtname`; - if($row[keytype] == "NS") + if($row['keytype'] == "NS") { - if($install == 1) + if(array_key_exists('install',$_REQUEST) && $_REQUEST['install'] == 1) { header("Content-Type: application/x-x509-user-cert"); header("Content-Length: ".strlen($cert)); diff --git a/pages/account/24.php b/pages/account/24.php index 3c10800..e9b122c 100644 --- a/pages/account/24.php +++ b/pages/account/24.php @@ -22,27 +22,27 @@