forked from kevinowino869/mitrobill
show error stacktrace
This commit is contained in:
@ -101,7 +101,7 @@ foreach ($d as $ds) {
|
||||
$p = ORM::for_table('tbl_plans')->where('id', $u['plan_id'])->find_one();
|
||||
|
||||
if ($p['is_radius']) {
|
||||
Radius::customerDeactivate($c['username']);
|
||||
echo Radius::customerDeactivate($c['username']);
|
||||
}else{
|
||||
$client = Mikrotik::getClient($m['ip_address'], $m['username'], $m['password']);
|
||||
if (!empty($p['pool_expired'])) {
|
||||
@ -150,7 +150,7 @@ foreach ($d as $ds) {
|
||||
$p = ORM::for_table('tbl_plans')->where('id', $u['plan_id'])->find_one();
|
||||
|
||||
if ($p['is_radius']) {
|
||||
Radius::customerDeactivate($c['username']);
|
||||
echo Radius::customerDeactivate($c['username']);
|
||||
}else{
|
||||
$client = Mikrotik::getClient($m['ip_address'], $m['username'], $m['password']);
|
||||
if (!empty($p['pool_expired'])) {
|
||||
|
Reference in New Issue
Block a user