Code

Readded plain name to gotomasses closes #419
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 22 Apr 2008 08:49:14 +0000 (08:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 22 Apr 2008 08:49:14 +0000 (08:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10607 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 6d467d55e34e9b117b7250e2a682b6057eaeb1f4..91e57cf8746f223aec5094eab396cae3f56df0fe 100644 (file)
@@ -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'];