summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-09-17 20:25:17 +0200
committerINOPIAE <inopiae@cacert.org>2013-09-17 20:25:17 +0200
commit59acdb947431d4b387f359d0c1481ec7466b0ecd (patch)
tree80a9a1d450b5ce77bbf84c0ee873e81e57bb9b6d
parent63c0968071bc64937b292f822073676646c2c899 (diff)
downloadcacert-devel-59acdb947431d4b387f359d0c1481ec7466b0ecd.tar.gz
cacert-devel-59acdb947431d4b387f359d0c1481ec7466b0ecd.tar.xz
cacert-devel-59acdb947431d4b387f359d0c1481ec7466b0ecd.zip
bug 1192: changed variable
-rw-r--r--www/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/index.php b/www/index.php
index 6b2cdba..01089bc 100644
--- a/www/index.php
+++ b/www/index.php
@@ -359,7 +359,7 @@ require_once('../includes/notary.inc.php');
$_SESSION['_config']['errmsg'] = _("Your account has not been verified yet, please check your email account for the signup messages.");
}
- $cca=get_last_user_agreement($user_id);
+ $cca=get_last_user_agreement($_SESSION['profile']['id']);
echo '###'.$cca['active'];
if (!isset($cca['active'])){
$id=52;