Code

Added type
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 28 Dec 2009 10:26:46 +0000 (10:26 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 28 Dec 2009 10:26:46 +0000 (10:26 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14955 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsi/class_opsi.inc

index 3277b2c7a4765c6ddc59085ecf16a72abf3e02f2..6fee101d78b684bf228ca0f1666c7823962f7eea 100644 (file)
@@ -299,7 +299,7 @@ class opsi extends gosaSupportDaemon
     $items = array();
 
     $attrs = array("PRIORITY","ONCESCRIPT","LICENSEREQUIRED","PACKAGEVERSION","PRODUCTVERSION",
-        "ADVICE","SETUPSCRIPT","WINDOWSSOFTWAREIDS","PXECONFIGTEMPLATE","NAME","CREATIONTIMESTAMP",
+        "ADVICE","SETUPSCRIPT","WINDOWSSOFTWAREIDS","PXECONFIGTEMPLATE","NAME","CREATIONTIMESTAMP", "TYPE",
         "ALWAYSSCRIPT","PRODUCTID","DESCRIPTION","UNINSTALLSCRIPT","UPDATESCRIPT","PRODUCTCLASSNAMES");
 
     if(isset($res['XML'][0]['ITEM'])){
@@ -359,6 +359,7 @@ class opsi extends gosaSupportDaemon
         $items[$entry['PRODUCTID'][0]['VALUE']] = $e;
       }
     }
+print_a($items);
     return($items);
   }