diff --git a/inc/remotesupport.class.php b/inc/remotesupport.class.php index e80b65b..0a769b8 100644 --- a/inc/remotesupport.class.php +++ b/inc/remotesupport.class.php @@ -15,6 +15,8 @@ class PluginRemotesupportRemotesupport extends CommonDBTM return true; } + $statusids = self::getStatusArray(); + if ($config["fusion"] == true && $config["easy_novnc"] == true) { $pfInventoryComputerComputer = new PluginFusioninventoryInventoryComputerComputer(); $a_computerextend = $pfInventoryComputerComputer->hasAutomaticInventory($item->getID()); @@ -35,7 +37,9 @@ class PluginRemotesupportRemotesupport extends CommonDBTM echo ''; echo ''; - $url = "
  • " . $name . "
  • "; + $url = "
  • getID()] == 'Offline' ? "style=\"background-color: red\"" : "". + ">" . $name . "
  • "; if ($url != "") { echo "