Code

Applied patches from 2.5 Revision: 6519
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 4 Jun 2007 10:25:28 +0000 (10:25 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 4 Jun 2007 10:25:28 +0000 (10:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6531 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupApplication.inc
plugins/admin/systems/class_printerPPDDialog.inc

index 10e3294e622b751016e85fe0ad611eb69e79be3d..857a82a017bafb7452645b85e69805feca63c29f 100644 (file)
@@ -22,6 +22,7 @@ class appgroup extends plugin
   var $curbase                = "";
   var $curCatDir                  ;
   var $curCatDepth              =0;         //
+  var $Categories;
 
   /* attribute list for save action */
   var $attributes               = array("gosaMemberApplication","gosaApplicationParameter");
index fd041b762aad8eed5f15933145a9b86a4de6b269..f6812ef8a6c97023404d3f3379b43fa4a99e53f0 100644 (file)
@@ -422,7 +422,13 @@ class printerPPDDialog extends plugin
           /* Prepare data */
           $values   = array();
           $name     = $settings['_name'];
-          $default  = $settings['_default'];
+
+          if (!isset($settings['_default'])){
+            $default  = "";
+          } else {
+            $default  = $settings['_default'];
+          }
+
           $type     = $settings['_type'];
 
           /* Add name to table */