mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2024-09-20 14:56:23 +08:00
Merge pull request #99 from axmad386/patch-1
fix(mikrotik): set pool $poolId always empty
This commit is contained in:
commit
96945ab813
|
@ -427,7 +427,7 @@ class Mikrotik
|
|||
'/ip pool print .proplist=.id',
|
||||
RouterOS\Query::where('name', $name)
|
||||
);
|
||||
$poolID = $client->sendSync($printRequest)->getProperty('id');
|
||||
$poolID = $client->sendSync($printRequest)->getProperty('.id');
|
||||
|
||||
if (empty($poolID)) {
|
||||
self::addPool($client, $name, $ip_address);
|
||||
|
|
Loading…
Reference in a new issue