From: cajus Date: Fri, 1 Jun 2007 13:26:28 +0000 (+0000) Subject: Fixed for ppds without _default X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a8a4166320c0920e50fafd48433912e6088b192e;p=gosa.git Fixed for ppds without _default git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6519 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupApplication.inc b/plugins/admin/groups/class_groupApplication.inc index 57546bdf3..390cb4053 100644 --- a/plugins/admin/groups/class_groupApplication.inc +++ b/plugins/admin/groups/class_groupApplication.inc @@ -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(); } + } diff --git a/plugins/admin/systems/class_printerPPDDialog.inc b/plugins/admin/systems/class_printerPPDDialog.inc index 103825ac4..f30c50e5f 100644 --- a/plugins/admin/systems/class_printerPPDDialog.inc +++ b/plugins/admin/systems/class_printerPPDDialog.inc @@ -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 */