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