Skip to content

Commit

Permalink
Fix: rights problem in supplier module
Browse files Browse the repository at this point in the history
Fix: bad closedir
  • Loading branch information
hregis committed Jan 18, 2011
1 parent 0831bbd commit 5baa28b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions htdocs/admin/fournisseur.php
Expand Up @@ -579,7 +579,5 @@
print "</td></tr>\n";
print '</form>';

closedir($handle);

llxFooter('$Date$ - $Revision$');
?>
1 change: 1 addition & 0 deletions htdocs/includes/modules/modFournisseur.class.php
Expand Up @@ -208,6 +208,7 @@ function modFournisseur($DB)
$this->rights[$r][4] = 'facture';
$this->rights[$r][5] = 'supprimer';

$r++;
$this->rights[$r][0] = 1235;
$this->rights[$r][1] = 'Envoyer les factures par mail';
$this->rights[$r][2] = 'a';
Expand Down

0 comments on commit 5baa28b

Please sign in to comment.