Fixed extra time in Tree View

This commit is contained in:
Arturo Gonzalez 2016-01-29 11:48:51 +01:00
parent d7c68ed83a
commit 400cef90bf
1 changed files with 1 additions and 1 deletions

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";