diff --git a/gosa-plugins/ldapmanager/addons/ldapmanager/class_exportxls.inc b/gosa-plugins/ldapmanager/addons/ldapmanager/class_exportxls.inc
index 4a563d09c211397fffac45483f66e00f03cb793a..469090097c5a6395a9d43ff76bc8abfd565b9870 100644 (file)
// Get the LDAP link, to generate the Export
$ldap = $this->config->get_ldap_link();
- if ($this->config->current['GOVERNMENTMODE'] == 'true'){
- $smarty->assign ("govmode", "true");
- } else {
- $smarty->assign ("govmode", "false");
- }
-
+ $smarty->assign ("govmode", $this->config->get_cfg_value("honourIvbbAttributes"));
$smarty->assign("LDIFError",FALSE);
if(isset($dn))