Code

Updated a couple of config values
[gosa.git] / gosa-plugins / ldapmanager / addons / ldapmanager / class_exportxls.inc
index 4a563d09c211397fffac45483f66e00f03cb793a..469090097c5a6395a9d43ff76bc8abfd565b9870 100644 (file)
@@ -83,12 +83,7 @@ class xlsexport extends plugin
     // 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))