summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/account.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/includes/account.php b/includes/account.php
index d7fd43d..4e59a00 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -3138,11 +3138,9 @@ function buildSubjectFromSession() {
}
if($id == 59){
- if ($oldid == 43 && $_SESSION['profile']['admin'] == 1) {
- $_SESSION['support']=1;
- }ELSEIF ($oldid == 13 && intval($_REQUEST['userid']) == $_SESSION['profile']['id']){
- $_SESSION['support']=0;
- }ELSE{
+ if (!($oldid == 43 && $_SESSION['profile']['admin'] == 1) &&
+ !($oldid == 13 && intval($_REQUEST['userid']) == $_SESSION['profile']['id']))
+ {
showheader(_("My CAcert.org Account!"));
echo _("You do not have access to this page.");
showfooter();