mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-03 17:54:41 +02:00
fix acctSessionId
This commit is contained in:
parent
7d5e0c7a8e
commit
1ea971d3f5
2 changed files with 26 additions and 3 deletions
|
@ -272,7 +272,7 @@ try {
|
|||
}
|
||||
header("HTTP/1.1 200 ok");
|
||||
$d = ORM::for_table('rad_acct')
|
||||
->whereRaw("BINARY username = '$username' AND acctsessionid = '"._post('acctsessionid')."'")
|
||||
->whereRaw("BINARY username = '$username' AND acctsessionid = '"._post('acctSessionId')."'")
|
||||
->findOne();
|
||||
if (!$d) {
|
||||
$d = ORM::for_table('rad_acct')->create();
|
||||
|
@ -286,7 +286,7 @@ try {
|
|||
$d->acctOutputOctets = 0;
|
||||
$d->acctInputOctets = 0;
|
||||
}
|
||||
$d->acctSessionId = _post('acctSessionId');
|
||||
$d->acctsessionid = _post('acctSessionId');
|
||||
$d->username = $username;
|
||||
$d->realm = _post('realm');
|
||||
$d->nasipaddress = _post('nasip');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue