Merge branch 'develop' of https://github.com/pandorafms/pandorafms into develop

This commit is contained in:
axl89 2016-05-25 15:40:38 +02:00
commit ea77c6fb5d
1 changed files with 5 additions and 4 deletions

View File

@ -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();