diff --git a/htdocs/ftp/index.php b/htdocs/ftp/index.php index 31570262d5c..4cfd3d21177 100644 --- a/htdocs/ftp/index.php +++ b/htdocs/ftp/index.php @@ -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 '