mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-13 03:24:23 +02:00
change variable user to name to check pppoe online customer
This commit is contained in:
parent
05eab22062
commit
5b51af1b6e
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ class MikrotikPppoe
|
|||
$client = $this->getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']);
|
||||
$printRequest = new RouterOS\Request(
|
||||
'/ppp active print',
|
||||
RouterOS\Query::where('user', $customer['username'])
|
||||
RouterOS\Query::where('name', $customer['username'])
|
||||
);
|
||||
return $client->sendSync($printRequest)->getProperty('.id');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue