Code

Fixed for ppds without _default
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 1 Jun 2007 13:26:28 +0000 (13:26 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 1 Jun 2007 13:26:28 +0000 (13:26 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6519 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 57546bdf3a654bad7e6707a33888f823e8be2531..390cb405383f9e139287a5fee09b0df755a6eeaa 100644 (file)
@@ -17,6 +17,7 @@ class appgroup extends plugin
   var $curbase                = "";
   var $curCatDir                  ;
   var $curCatDepth              =0;         //
+  var $Categories;
 
   /* attribute list for save action */
   var $attributes               = array("gosaMemberApplication","gosaApplicationParameter");
@@ -146,6 +147,7 @@ class appgroup extends plugin
       $this->InitialFAIrelease = $this->FAIrelease;
       $this->Releases       = $this->getReleases();
     }
+
   }
 
 
index 103825ac47b7c51aec9fbc4be19339de542ffe6b..f30c50e5f4e3dbdd8fa912d81be6405c81f7e219 100644 (file)
@@ -417,7 +417,11 @@ 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 */