Code

Fixed post handling.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Jul 2010 09:34:40 +0000 (09:34 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Jul 2010 09:34:40 +0000 (09:34 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19079 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc

index 51b37e060b5c5bdf869c1c4fc0e132668f719929..b223e7453503c91a9af9d84737950e3746a2c5d6 100644 (file)
@@ -54,14 +54,14 @@ class ldifexport extends plugin
         $smarty->assign("base", $this->baseSelector->render());
 
         // fill in old vars in the Export form
-        if(isset($_POST['single'])) $smarty->assign("single",$_POST['single']);
+        if(isset($_POST['single'])) $smarty->assign("single",set_post(get_post('single')));
 
         // Get the LDAP link, to generate the Export
         $ldap = $this->config->get_ldap_link();
         $dn = "";
         if(isset($_POST['sfrmgetsingle']))
         {  
-            $dn   = $_POST['single'];
+            $dn   = get_post('single');
             $scope= "base";
             $acls = $this->ui->get_permissions($dn,"ldapmanager/ldif");
             $name = "entryExport.ldif";