Code

Updated import
[gosa.git] / gosa-plugins / ldapmanager / addons / ldapmanager / class_export.inc
index 1f2d38ccf9a3fba051805c8e5590f57e7e517f36..8bed2866af2dfb17f135e6ca7c1de611d54375ad 100644 (file)
@@ -32,6 +32,9 @@ class ldifexport extends plugin
     /* Set government mode */
     $smarty= get_smarty();
 
+    $smarty->assign ("govmode", $this->config->get_cfg_value("honourIvbbAttributes"));
+    $smarty->assign("LDIFError",FALSE);
+
     $smarty->assign("type",FALSE);
     $smarty->assign("depselectivbb","");
 
@@ -90,7 +93,7 @@ class ldifexport extends plugin
     if((!preg_match("/r/",$acls)) && (isset($dn))){
 
       /* Show error msg */      
-      msg_dialog::display(_("Permission error"), sprintf(_("You have no permission to export '%s'!"),@LDAP::fix($dn)), ERROR_DIALOG);
+      msg_dialog::display(_("Permission error"), sprintf(_("You have no permission to export '%s'!"),LDAP::fix($dn)), ERROR_DIALOG);
 
       /* Show main page */
       $smarty->assign("LDIFError",TRUE);