Code

Fixed display of system list. Closes #605.
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 Dec 2008 15:03:34 +0000 (15:03 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 Dec 2008 15:03:34 +0000 (15:03 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13212 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 1ddd6959f576bba2f54a8d1c2ba36c456c9c8411..92d622deb5dd38fa15d32607b20a9ef500f3d2ad 100644 (file)
@@ -110,11 +110,13 @@ class opsi extends gosaSupportDaemon
       $opsi_acl = $ui->get_permissions($obj['dn'],"opsi/opsiGeneric");
       if(preg_match("/r/",$opsi_acl)){
         if(!empty($entry['DESCRIPTION'][0]['VALUE'])){ 
-          $obj["description"] =$entry['DESCRIPTION'][0]['VALUE'];
+          $obj["description"]= array();
+          $obj["description"][0]= $entry['DESCRIPTION'][0]['VALUE'];
         }
         $data[] = $obj;
       }
     }
+
     return($data);
   }