From 9d8d0d2a7b949d0f849d4fa4d8ef4ad0b5d19403 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 28 Apr 2008 08:54:58 +0000 Subject: [PATCH] Updated gotomasses -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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/goto/addons/goto/class_gotomasses.inc b/gosa-plugins/goto/addons/goto/class_gotomasses.inc index 3ba8b2f30..fc2c14c5a 100644 --- a/gosa-plugins/goto/addons/goto/class_gotomasses.inc +++ b/gosa-plugins/goto/addons/goto/class_gotomasses.inc @@ -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']."' "; } -- 2.30.2