Fix: rights problem in supplier module
Fix: bad closedir
This commit is contained in:
parent
0831bbd3bf
commit
5baa28b3bb
@ -579,7 +579,5 @@ print '<input type="submit" class="button" value="'.$langs->trans("Modify").'">'
|
|||||||
print "</td></tr>\n";
|
print "</td></tr>\n";
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
|
||||||
closedir($handle);
|
|
||||||
|
|
||||||
llxFooter('$Date$ - $Revision$');
|
llxFooter('$Date$ - $Revision$');
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -208,6 +208,7 @@ class modFournisseur extends DolibarrModules
|
|||||||
$this->rights[$r][4] = 'facture';
|
$this->rights[$r][4] = 'facture';
|
||||||
$this->rights[$r][5] = 'supprimer';
|
$this->rights[$r][5] = 'supprimer';
|
||||||
|
|
||||||
|
$r++;
|
||||||
$this->rights[$r][0] = 1235;
|
$this->rights[$r][0] = 1235;
|
||||||
$this->rights[$r][1] = 'Envoyer les factures par mail';
|
$this->rights[$r][1] = 'Envoyer les factures par mail';
|
||||||
$this->rights[$r][2] = 'a';
|
$this->rights[$r][2] = 'a';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user