diff --git a/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc b/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc
index 41ae7212cea7a1212ca1dbfcbf5f6561139e36e5..1f2d38ccf9a3fba051805c8e5590f57e7e517f36 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");
+ if ($this->config->get_cfg_value('honourIvbbAttributes') == 'true'){
+ $smarty->assign ("govmode", $this->config->get_cfg_value("honourIvbbAttributes"));
+ $smarty->assign("LDIFError",FALSE);
}
- $smarty->assign("LDIFError",FALSE);
-
if(isset($dn))
{
if(!($ldap->dn_exists($dn) && $dn != "")){