forgot to check enabled router when showing offline router
This commit is contained in:
parent
8e2a40d670
commit
ef0d19393f
@ -210,7 +210,7 @@ if (file_exists($cacheMSfile) && time() - filemtime($cacheMSfile) < 43200) {
|
||||
}
|
||||
|
||||
if ($config['router_check']) {
|
||||
$routeroffs = ORM::for_table('tbl_routers')->selects(['id', 'name', 'last_seen'])->where('status', 'Offline')->order_by_desc('name')->find_array();
|
||||
$routeroffs = ORM::for_table('tbl_routers')->selects(['id', 'name', 'last_seen'])->where('status', 'Offline')->where('enabled', '1')->order_by_desc('name')->find_array();
|
||||
$ui->assign('routeroffs', $routeroffs);
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"version": "2024.8.28"
|
||||
"version": "2024.8.30"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user