Code

Added Inherit all button to Workstation Servive - testing.
[gosa.git] / plugins / admin / systems / class_printerPPDDialog.inc
index fd041b762aad8eed5f15933145a9b86a4de6b269..f30c50e5f4e3dbdd8fa912d81be6405c81f7e219 100644 (file)
@@ -2,11 +2,6 @@
 
 class printerPPDDialog extends plugin
 {
-  /* CLI vars */
-  var $cli_summary          = "Manage server basic objects";
-  var $cli_description      = "Some longer text\nfor help";
-  var $cli_parameters       = array("eins" => "Eins ist toll", "zwei" => "Zwei ist noch besser");
-
   /* attribute list for save action */
   var $ignore_account       = TRUE;
   var $attributes           = array("cn");
@@ -422,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 */