Fixed a status filter error

This commit is contained in:
Alejandro Gallardo Escobar 2015-03-11 21:24:58 +01:00
parent ecb5a4097f
commit 89c307bd5d
1 changed files with 2 additions and 1 deletions

View File

@ -228,7 +228,8 @@ class Tree {
// Agent status filter
$agent_status_filter = "";
if (isset($this->filter['statusAgent'])
&& $this->filter['statusAgent'] != AGENT_STATUS_ALL) {
&& $this->filter['statusAgent'] != AGENT_STATUS_ALL
&& !$this->strictACL) {
$agent_status_filter = $this->getAgentStatusFilter($this->filter['statusAgent']);
}