summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cd908b2)
raw | patch | inline | side by side (parent: cd908b2)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 28 Apr 2008 08:54:58 +0000 (08:54 +0000) | ||
committer | hickert <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
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10709 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/addons/goto/class_gotomasses.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/addons/goto/class_gotomasses.inc b/gosa-plugins/goto/addons/goto/class_gotomasses.inc
index 3ba8b2f30f03e3ce77dce414351cc91471bc801b..fc2c14c5a05ad18ac7daebe52bd366dfbd72920f 100644 (file)
$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']."' ";
}