Fixed extra time in Tree View

This commit is contained in:
Arturo Gonzalez 2016-01-29 11:50:16 +01:00
parent 90a32a11f1
commit 1c44ee0e90
1 changed files with 1 additions and 1 deletions
pandora_console/include/class

View File

@ -1772,7 +1772,7 @@ class Tree {
$agent['quietImageHTML'] = html_print_image("/images/dot_green.disabled.png", true, array("title" => __('Quiet')));
// Status
$agent['statusRaw'] = agents_get_status($agent['id']);
$agent['statusRaw'] = agents_get_status($agent['id'], !$this->strictACL);
switch ($agent['statusRaw']) {
case AGENT_STATUS_NORMAL:
$agent['status'] = "ok";