Hi all,
I have installed successfully A2Billing 1.7.1 with Asterisk 1.4.
I have tested to add new customer from web interface Customer Sign Up.
The customer has receiverd an email to active this account. After click to link actived account, I can see the message :"Welcome! Your account has been successfully activated. Thank you! "
But I try to log in to account from Customer Web, it has message : "NEW ACCOUNT : Your account has not been validate yet!"
I check in database with table cc_card : status = 2 (new).
I think that commands in file actived.php aren't effected.
Code:
if (isset ($key) && $list[0][8] != "1") {
if ($A2B->config["signup"]['activated']) {
// Status : 1 - Active
$QUERY = "UPDATE cc_card SET status = 1 WHERE ( status = 2 OR status = 3 ) AND loginkey = '" . $key . "' ";
} else {
// Status : 2 - New
$QUERY = "UPDATE cc_card SET status = 2 WHERE ( status = 2 OR status = 3 ) AND loginkey = '" . $key . "' ";
}
$result = $instance_sub_table->SQLExec($HD_Form->DBHandle, $QUERY, 0);
}
Is this the bug of A2Billing 1.7.1 ?
Thank in advance for all helps!
Best regard,