mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-30 22:59:28 +02:00
null to '' to delete pppoe_ip
This commit is contained in:
parent
7172cfbb79
commit
55232ac4b3
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class MikrotikPppoe
|
||||||
if (!empty($customer['pppoe_ip'])) {
|
if (!empty($customer['pppoe_ip'])) {
|
||||||
$setRequest->setArgument('local-address', $customer['pppoe_ip']);
|
$setRequest->setArgument('local-address', $customer['pppoe_ip']);
|
||||||
}else{
|
}else{
|
||||||
$setRequest->setArgument('local-address', null);
|
$setRequest->setArgument('local-address', '');
|
||||||
}
|
}
|
||||||
$setRequest->setArgument('profile', $plan['name_plan']);
|
$setRequest->setArgument('profile', $plan['name_plan']);
|
||||||
$setRequest->setArgument('comment', $customer['fullname'] . ' | ' . $customer['email'] . ' | ' . implode(', ', User::getBillNames($customer['id'])));
|
$setRequest->setArgument('comment', $customer['fullname'] . ' | ' . $customer['email'] . ' | ' . implode(', ', User::getBillNames($customer['id'])));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue