A2Billing is a telecom switch and billing system capable of providing and billing a range of telecom products and services to customers such as calling card products, residential and wholesale VoIP termination, DID resale and callback services.
getpost_ifset is a function that expect an array:
""""
function getpost_ifset($test_vars)
{
if (!is_array($test_vars)) {
$test_vars = array (
$test_vars
);
}
""""
When upgrading to version 2.1 i got this error
[error] [client 187.191.10.16] PHP Parse error: syntax error, unexpected '[', expecting ')' in /usr/src/a2billing/common/lib/agent.smarty.php on line 82
and on file common/lib/agent.smarty.php on line 82 i found this
getpost_ifset(['section']);
and I'm pretty sure it should be
getpost_ifset('section');
Regards,