Merge branch 'develop' of https://github.com/pandorafms/pandorafms into develop
This commit is contained in:
commit
ea77c6fb5d
|
@ -92,10 +92,11 @@ if ($search_agents && (!is_metaconsole() || $force_local)) {
|
|||
}
|
||||
}
|
||||
|
||||
switch ($all) {
|
||||
case 'enabled':
|
||||
$filter['disabled'] = 0;
|
||||
break;
|
||||
if ($all === 'enabled') {
|
||||
$filter['disabled'] = 1;
|
||||
}
|
||||
else {
|
||||
$filter['disabled'] = 0;
|
||||
}
|
||||
|
||||
$data = array();
|
||||
|
|
Loading…
Reference in New Issue