From 64fb76af2be1467a5de64a786723ea611d78854f Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 22 Apr 2008 08:49:14 +0000 Subject: [PATCH] Readded plain name to gotomasses closes #419 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10607 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/addons/goto/class_gotomasses.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/goto/addons/goto/class_gotomasses.inc b/gosa-plugins/goto/addons/goto/class_gotomasses.inc index 6d467d55e..91e57cf87 100644 --- a/gosa-plugins/goto/addons/goto/class_gotomasses.inc +++ b/gosa-plugins/goto/addons/goto/class_gotomasses.inc @@ -194,7 +194,6 @@ class gotomasses extends plugin if(count($ids)){ $ret = $this->o_queue->ids_exist($ids); $ret = $this->o_queue->get_entries_by_id($ret); - $tmp = ""; foreach($ret as $task){ @@ -410,8 +409,8 @@ class gotomasses extends plugin $color = ""; $display = $task['MACADDRESS']; $tooltip = ""; - if(isset($task['TARGETTAG'])){ - $display = $task['TARGETTAG']; + if(isset($task['PLAINNAME'])){ + $display = $task['PLAINNAME']; $tooltip = " title='".$task['MACADDRESS']."' "; } $display2= $task['HEADERTAG']; -- 2.30.2