From 4958d17d248a5f5ff403274bd437c0ab34a7d888 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 8 Oct 2013 00:42:28 +0200 Subject: [PATCH] Doxygen --- htdocs/contact/fiche.php | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php index c364bc91728..b678d38c3b0 100644 --- a/htdocs/contact/fiche.php +++ b/htdocs/contact/fiche.php @@ -132,28 +132,25 @@ if (empty($reshook)) } - /* - * Confirmation desactivation - */ - if ($action == 'disable') - { - $object->fetch($id); - $object->setstatus(0); - header("Location: ".$_SERVER['PHP_SELF'].'?id='.$id); - exit; - } + // Confirmation desactivation + if ($action == 'disable') + { + $object->fetch($id); + $object->setstatus(0); + header("Location: ".$_SERVER['PHP_SELF'].'?id='.$id); + exit; + } - /* - * Confirmation activation - */ - if ($action == 'enable') - { - $object->fetch($id); - $object->setstatus(1); - header("Location: ".$_SERVER['PHP_SELF'].'?id='.$id); - exit; + // Confirmation activation + if ($action == 'enable') + { + $object->fetch($id); + $object->setstatus(1); + header("Location: ".$_SERVER['PHP_SELF'].'?id='.$id); + exit; + + } - } // Add contact if ($action == 'add' && $user->rights->societe->contact->creer) {