summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;