Doxygen
This commit is contained in:
parent
51a82a2418
commit
4958d17d24
@ -132,28 +132,25 @@ if (empty($reshook))
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
// Confirmation desactivation
|
||||||
* Confirmation desactivation
|
if ($action == 'disable')
|
||||||
*/
|
{
|
||||||
if ($action == 'disable')
|
$object->fetch($id);
|
||||||
{
|
$object->setstatus(0);
|
||||||
$object->fetch($id);
|
header("Location: ".$_SERVER['PHP_SELF'].'?id='.$id);
|
||||||
$object->setstatus(0);
|
exit;
|
||||||
header("Location: ".$_SERVER['PHP_SELF'].'?id='.$id);
|
}
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
// Confirmation activation
|
||||||
* Confirmation activation
|
if ($action == 'enable')
|
||||||
*/
|
{
|
||||||
if ($action == 'enable')
|
$object->fetch($id);
|
||||||
{
|
$object->setstatus(1);
|
||||||
$object->fetch($id);
|
header("Location: ".$_SERVER['PHP_SELF'].'?id='.$id);
|
||||||
$object->setstatus(1);
|
exit;
|
||||||
header("Location: ".$_SERVER['PHP_SELF'].'?id='.$id);
|
|
||||||
exit;
|
}
|
||||||
|
|
||||||
}
|
|
||||||
// Add contact
|
// Add contact
|
||||||
if ($action == 'add' && $user->rights->societe->contact->creer)
|
if ($action == 'add' && $user->rights->societe->contact->creer)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user