Fix: Wrong value for permissions id

This commit is contained in:
Laurent Destailleur
2011-01-22 10:38:05 +00:00
parent e2fcf23985
commit 8dc2a9b2c9
5 changed files with 16 additions and 16 deletions

View File

@@ -97,14 +97,14 @@ class modFTP extends DolibarrModules
$this->rights = array(); // Permission array used by this module
$r++;
$this->rights[$r][0] = 2800;
$this->rights[$r][0] = 2801;
$this->rights[$r][1] = 'Use FTP client in read mode (browse and download only)';
$this->rights[$r][2] = 'r';
$this->rights[$r][3] = 1;
$this->rights[$r][4] = 'read';
$r++;
$this->rights[$r][0] = 2801;
$this->rights[$r][0] = 2802;
$this->rights[$r][1] = 'Use FTP client in write mode (delete or upload files)';
$this->rights[$r][2] = 'w';
$this->rights[$r][3] = 0;