allow $pppoe_username so it will back to customer username
This commit is contained in:
parent
cb0e77523d
commit
3ca43c69a8
@ -541,11 +541,13 @@ switch ($action) {
|
|||||||
$userDiff = true;
|
$userDiff = true;
|
||||||
}
|
}
|
||||||
if ($oldPppoeUsername != $pppoe_username) {
|
if ($oldPppoeUsername != $pppoe_username) {
|
||||||
if(ORM::for_table('tbl_customers')->where('pppoe_username', $pppoe_username)->find_one()){
|
if(!empty($pppoe_username)){
|
||||||
$msg.= Lang::T('PPPoE Username already used by another customer') . '<br>';
|
if(ORM::for_table('tbl_customers')->where('pppoe_username', $pppoe_username)->find_one()){
|
||||||
}
|
$msg.= Lang::T('PPPoE Username already used by another customer') . '<br>';
|
||||||
if(ORM::for_table('tbl_customers')->where('username', $pppoe_username)->find_one()){
|
}
|
||||||
$msg.= Lang::T('PPPoE Username already used by another customer') . '<br>';
|
if(ORM::for_table('tbl_customers')->where('username', $pppoe_username)->find_one()){
|
||||||
|
$msg.= Lang::T('PPPoE Username already used by another customer') . '<br>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$pppoeDiff = true;
|
$pppoeDiff = true;
|
||||||
}
|
}
|
||||||
|
@ -694,5 +694,6 @@
|
|||||||
"_": "-",
|
"_": "-",
|
||||||
"Routers_Maps": "Routers Maps",
|
"Routers_Maps": "Routers Maps",
|
||||||
"Routers_Geo_Location_Information": "Routers Geo Location Information",
|
"Routers_Geo_Location_Information": "Routers Geo Location Information",
|
||||||
"Coverage": "Coverage"
|
"Coverage": "Coverage",
|
||||||
|
"PPPoE_Username_already_used_by_another_customer": "PPPoE Username already used by another customer"
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user