summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/index.php b/www/index.php
index 01089bc..08ed57f 100644
--- a/www/index.php
+++ b/www/index.php
@@ -165,12 +165,14 @@ require_once('../includes/notary.inc.php');
if($_SESSION['profile']['id'] != 0)
{
$cca=get_last_user_agreement($user_id);
+ echo '###0###'.$cca['active'];
if (!isset($cca['active'])){
$id=52;
$ccatest=TRUE;
}else{
$_SESSION['profile']['loggedin'] = 1;
header('location: https://'.$_SERVER['HTTP_HOST'].'/account.php');
+ echo '###1###'.$cca['active'];
exit;
}
} else {