bug 1138: adjusted call for page account/59.php
authorINOPIAE <inopiae@cacert.org>
Sun, 8 Dec 2013 17:02:30 +0000 (18:02 +0100)
committerINOPIAE <inopiae@cacert.org>
Sun, 8 Dec 2013 17:02:30 +0000 (18:02 +0100)
includes/account.php

index 6ce8de1..1c42738 100644 (file)
        }
 
        if($id == 59){
-               $support=0;
                if ($oldid==43) {
                        se_write_log($_REQUEST['userid'], $_SESSION['profile']['id'], 'View account history', $_REQUEST['ticketno']);
                        $support=1;
+               }ELSEIF ($oldid==13){
+                       $support=0;
+               }ELSE{
+                       showheader(_("My CAcert.org Account!"));
+                       echo _("You do not have access to this page.");
+                       showfooter();
+                       exit;
                }
        }