summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-06-06 19:55:39 +0200
committerBenny Baumann <BenBE@geshi.org>2014-06-06 19:55:39 +0200
commit76b8145a2f68d2f65384e2e51530b207b1a737ea (patch)
treead8987303f68489d52018949cd21ddff0a2e90ba
parent95af242992dd8250c14518cb067ae2b094e2cb8a (diff)
parent9af483343fd8eac522d67e8cfc8130ac1ce6c07b (diff)
downloadcacert-devel-76b8145a2f68d2f65384e2e51530b207b1a737ea.tar.gz
cacert-devel-76b8145a2f68d2f65384e2e51530b207b1a737ea.tar.xz
cacert-devel-76b8145a2f68d2f65384e2e51530b207b1a737ea.zip
Merge branch 'bug-1275' into release
-rw-r--r--includes/account.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/account.php b/includes/account.php
index 25e2608..447d094 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'])));