fix: mauvais droit
This commit is contained in:
parent
1988dbe83b
commit
7fced7fe57
@ -151,7 +151,7 @@ if ($_POST["action"] == 'add' || $_POST["action"] == 'update')
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($_POST["action"] == 'confirm_delete' && $_POST["confirm"] == 'yes' && $user->rights->societe->creer)
|
if ($_POST["action"] == 'confirm_delete' && $_POST["confirm"] == 'yes' && $user->rights->societe->supprimer)
|
||||||
{
|
{
|
||||||
$soc = new Societe($db);
|
$soc = new Societe($db);
|
||||||
$soc->fetch($socid);
|
$soc->fetch($socid);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user