mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-24 15:36:33 +08:00
Fix bug setPpoeUser
This commit is contained in:
parent
80e86ef6cc
commit
cad7a4723f
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ class Mikrotik
|
|||
public static function setPpoeUser($client, $user, $pass, $nuser= null){
|
||||
$printRequest = new RouterOS\Request('/ppp/secret/print');
|
||||
$printRequest->setArgument('.proplist', '.id');
|
||||
$printRequest->setQuery(RouterOS\Query::where('name', $user['username']));
|
||||
$printRequest->setQuery(RouterOS\Query::where('name', $user));
|
||||
$id = $client->sendSync($printRequest)->getProperty('.id');
|
||||
|
||||
$setRequest = new RouterOS\Request('/ppp/secret/set');
|
||||
|
|
Loading…
Reference in a new issue