From e3cf7a6ee8d1527a94165375f425dbc7f0703baa Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 23 Jul 2010 09:34:40 +0000 Subject: [PATCH] Fixed post handling. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19079 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc b/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc index 51b37e060..b223e7453 100644 --- a/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc +++ b/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc @@ -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"; -- 2.30.2