From 3e2ba0205434886fbe8671435570206089674809 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 1 Apr 2006 15:01:01 +0000 Subject: [PATCH] Fix: bug #16227 : Modifs impossibles sur les contacts --- htdocs/contact/fiche.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php index bf20b4f6b60..8203163102e 100644 --- a/htdocs/contact/fiche.php +++ b/htdocs/contact/fiche.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2005 Laurent Destailleur + * Copyright (C) 2004-2006 Laurent Destailleur * Copyright (C) 2004 Benoit Mortier * Copyright (C) 2005-2006 Regis Houssin * @@ -191,6 +191,7 @@ if ($user->rights->societe->contact->creer) */ llxHeader(); + $form = new Form($db); if ($socid) @@ -434,7 +435,7 @@ if ($user->rights->societe->contact->creer) } } -if ($_GET["id"]) +if ($_GET["id"] && $_GET["action"] != 'edit') { /* * Fiche en mode visualisation