From 2b4c5a37bb281fd7402e85d73c49f66e8edb6d6a Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 13 Mar 2006 17:03:44 +0000 Subject: [PATCH] bugfix --- htdocs/contact/fiche.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php index 35d01735326..17b51de7cdd 100644 --- a/htdocs/contact/fiche.php +++ b/htdocs/contact/fiche.php @@ -36,6 +36,10 @@ require_once(DOL_DOCUMENT_ROOT."/lib/vcard/vcard.class.php"); $langs->load("companies"); $langs->load("users"); +$user->getrights("societe"); +$user->getrights("commercial"); + + $error = array(); $socid=$_GET["socid"]?$_GET["socid"]:$_POST["socid"];