Fix: Error in ftp link

This commit is contained in:
Laurent Destailleur
2011-07-17 23:59:39 +00:00
parent 9eb342f625
commit ad377bc4aa

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.23 2011/07/18 00:49:19 eldy Exp $
* \version $Id: index.php,v 1.21 2011/07/17 23:59:39 eldy Exp $
* \author Laurent Destailleur
*/
@@ -39,6 +39,9 @@ $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'];
@@ -444,7 +447,6 @@ else
print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
print '<input type="hidden" name="numero_ftp" value="'.$numero_ftp.'">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
@@ -625,7 +627,7 @@ if ($conn_id) ftp_close($conn_id);
// End of page
$db->close();
llxFooter('$Date: 2011/07/18 00:49:19 $ - $Revision: 1.23 $');
llxFooter('$Date: 2011/07/17 23:59:39 $ - $Revision: 1.21 $');
/**