Code

Updated gotomasses
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 28 Apr 2008 08:54:58 +0000 (08:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 28 Apr 2008 08:54:58 +0000 (08:54 +0000)
-Plainname 'none' will now result in macAddress.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10709 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/addons/goto/class_gotomasses.inc

index 3ba8b2f30f03e3ce77dce414351cc91471bc801b..fc2c14c5a05ad18ac7daebe52bd366dfbd72920f 100644 (file)
@@ -409,7 +409,7 @@ class gotomasses extends plugin
       $color = "";
       $display = $task['MACADDRESS'];
       $tooltip = "";
-      if(isset($task['PLAINNAME'])){
+      if(isset($task['PLAINNAME']) && !preg_match("/none/i",$task['PLAINNAME'])){
         $display = $task['PLAINNAME'];
         $tooltip = " title='".$task['MACADDRESS']."' ";
       }