This commit is contained in:
Laurent Destailleur 2013-10-08 00:42:28 +02:00
parent 51a82a2418
commit 4958d17d24

View File

@ -132,9 +132,7 @@ if (empty($reshook))
} }
/* // Confirmation desactivation
* Confirmation desactivation
*/
if ($action == 'disable') if ($action == 'disable')
{ {
$object->fetch($id); $object->fetch($id);
@ -143,9 +141,7 @@ if (empty($reshook))
exit; exit;
} }
/* // Confirmation activation
* Confirmation activation
*/
if ($action == 'enable') if ($action == 'enable')
{ {
$object->fetch($id); $object->fetch($id);
@ -154,6 +150,7 @@ if (empty($reshook))
exit; exit;
} }
// Add contact // Add contact
if ($action == 'add' && $user->rights->societe->contact->creer) if ($action == 'add' && $user->rights->societe->contact->creer)
{ {