diff --git a/gosa-core/plugins/admin/systems/class_workstationService.inc b/gosa-core/plugins/admin/systems/class_workstationService.inc
index 23698cf61a870110bb751d866d9595e1f26b1f1c..5b1a43e1abd56d7be362451e23caef5e01dc6b5c 100644 (file)
}
/* Workaround to fill in inherited values if we've specified an objectclass */
- if (isset($_SESSION['SelectedSystemType']['ogroup']) && $_SESSION['SelectedSystemType']['ogroup'] != 'none'){
+ $SelectedSystemType = session::get("SelectedSystemType");
+ if (isset($SelectedSystemType['ogroup']) && $SelectedSystemType['ogroup'] != 'none'){
$this->XResolutions= array('default' => _("inherited"));
$this->XColordepths= array('default' => _("inherited"));
$this->XKbModels= array('default' => _("inherited"));