From: hickert Date: Mon, 28 Apr 2008 08:54:58 +0000 (+0000) Subject: Updated gotomasses X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9d8d0d2a7b949d0f849d4fa4d8ef4ad0b5d19403;p=gosa.git 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 --- 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']."' "; }