Code

Fixed bug with not set description
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Oct 2007 11:37:15 +0000 (11:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Oct 2007 11:37:15 +0000 (11:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7440 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_workstationStartup.inc

index 4b55ee073be156e1a7531b5ef5187f8f08a2b09e..65ac31f0d6047d6d871bc9d45688e0a26704683b 100644 (file)
@@ -106,6 +106,10 @@ class workstartup extends plugin
 
         $_SESSION['getAvailableClassesForThisRelease_CACHED_CLASSES'][] = $attr;
 
+        if(!isset($attr['description'])){
+          $attr['description'][0] = "";
+        }
+
         if(in_array('FAIpackageList',$attr['objectClass'])){
           $tmp2[$cn]['FAIpackageList']['obj']   = 'FAIpackageList'; 
           $tmp2[$cn]['FAIpackageList']['kzl']   = 'Pl';