summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2014-04-29 23:20:10 +0200
committerMichael Tänzer <neo@nhng.de>2014-04-29 23:20:10 +0200
commit9af483343fd8eac522d67e8cfc8130ac1ce6c07b (patch)
tree71458e9e90593f700e22ce3504e284dcccb7c617
parent24d8235f875f9ecff3198e3f0cf8d450beae1989 (diff)
downloadcacert-devel-9af483343fd8eac522d67e8cfc8130ac1ce6c07b.tar.gz
cacert-devel-9af483343fd8eac522d67e8cfc8130ac1ce6c07b.tar.xz
cacert-devel-9af483343fd8eac522d67e8cfc8130ac1ce6c07b.zip
bug 1275: Fix #1275bug-1275
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r--includes/account.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/account.php b/includes/account.php
index 7e9ee2a..7e047be 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -2447,9 +2447,9 @@ function buildSubjectFromSession() {
{
csrf_check('orgadmadd');
if($_SESSION['profile']['orgadmin'] == 1)
- $masteracc = $_SESSION['_config'][masteracc] = intval($_REQUEST['masteracc']);
+ $masteracc = $_SESSION['_config']['masteracc'] = intval($_REQUEST['masteracc']);
else
- $masteracc = $_SESSION['_config'][masteracc] = 0;
+ $masteracc = $_SESSION['_config']['masteracc'] = 0;
$_REQUEST['email'] = $_SESSION['_config']['email'] = mysql_real_escape_string(stripslashes(trim($_REQUEST['email'])));
$OU = $_SESSION['_config']['OU'] = mysql_real_escape_string(stripslashes(trim($_REQUEST['OU'])));
$comments = $_SESSION['_config']['comments'] = mysql_real_escape_string(stripslashes(trim($_REQUEST['comments'])));