diff --git a/inc/remotesupport.class.php b/inc/remotesupport.class.php index 035df2e..d6e82e9 100644 --- a/inc/remotesupport.class.php +++ b/inc/remotesupport.class.php @@ -37,9 +37,8 @@ class PluginRemotesupportRemotesupport extends CommonDBTM echo ''; echo ''; - $url = "
  • getID()] == 'Offline' ? "style=\"background-color: red\"" : "". - ">" . $name . "
  • "; + $style = $statusids[$item->getID()] == "Offline" ? "style=\"background-color: red\"" : ""; + $url = "
  • " . $name . "
  • "; if ($url != "") { echo "