Fix: Delete with ftp module

This commit is contained in:
Laurent Destailleur
2011-07-18 00:48:33 +00:00
parent 2635f639bc
commit 1d89de2915

View File

@@ -21,7 +21,7 @@
* \file htdocs/ftp/index.php
* \ingroup ftp
* \brief Main page for FTP section area
* \version $Id: index.php,v 1.22 2011/07/18 00:03:18 eldy Exp $
* \version $Id: index.php,v 1.23 2011/07/18 00:49:19 eldy Exp $
* \author Laurent Destailleur
*/
@@ -39,9 +39,6 @@ $langs->load("other");
if ($user->societe_id) $socid=$user->societe_id;
$result = restrictedArea($user, 'ftp','');
// Load permissions
$user->getrights('ftp');
// Get parameters
$action = isset($_GET["action"])?$_GET["action"]:$_POST['action'];
$section=isset($_GET["section"])?$_GET["section"]:$_POST['section'];
@@ -628,7 +625,7 @@ if ($conn_id) ftp_close($conn_id);
// End of page
$db->close();
llxFooter('$Date: 2011/07/18 00:03:18 $ - $Revision: 1.22 $');
llxFooter('$Date: 2011/07/18 00:49:19 $ - $Revision: 1.23 $');
/**