fix: mauvais droit

This commit is contained in:
Regis Houssin 2006-03-13 15:39:50 +00:00
parent 1988dbe83b
commit 7fced7fe57

View File

@ -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);