From 9436fe7c60d09b573e3327247522cc33032f2b08 Mon Sep 17 00:00:00 2001 From: Jaroslav Drzik Date: Tue, 1 Nov 2022 19:13:08 +0100 Subject: [PATCH] fix --- inc/remotesupport.class.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 "