Hi,
I noticed the same problem as well. The problem seems to be in the code /usr/local/src/a2billing/customer/A2B_entity_did.php where the variable $messagetext is not actually defined.
Here is a simple fix i wrote, I modified my own A2B_entity_did.php and added the following code:
Code:
$QUERY = "SELECT cc_did.did,cc_card.username FROM (cc_did INNER JOIN cc_card on cc_card.id=cc_did.iduser) WHERE cc_did.id=$choose_did;";
$resmax = $DBHandle_max->Execute($QUERY);
if ($resmax) {
$row = $resmax->fetchRow();
$mydid = $row[0];
$myusername = $row[1];
}
$messagetext = "DID $mydid has been released from Account Number $myusername ";
Make sure the above code is added just below the following code in line 47.
Code:
if ($action_release == "confirm_release") {
What that should do is, in the message body of the email being sent to the Admin email address, it says the DID that has been released and which Account number it is released from.
I guess someone should probably report this as a bug fix.
Kind Regards,
Kayode.