mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
Fixed "autocomplete agent search" with disabled agents. Ticket #3655
This commit is contained in:
parent
60261b2d01
commit
710e15f1b2
@ -92,10 +92,11 @@ if ($search_agents && (!is_metaconsole() || $force_local)) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
switch ($all) {
|
if ($all === 'enabled') {
|
||||||
case 'enabled':
|
$filter['disabled'] = 1;
|
||||||
$filter['disabled'] = 0;
|
}
|
||||||
break;
|
else {
|
||||||
|
$filter['disabled'] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = array();
|
$data = array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user