From 05865a79782f3d6d985be1bda77717fa403d2285 Mon Sep 17 00:00:00 2001 From: BENKE Charles Date: Tue, 18 Feb 2014 15:49:16 +0100 Subject: [PATCH] Update fiche.php somme other error --- htdocs/fichinter/fiche.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index 59359ec2b3b..66ebc3733be 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -857,7 +857,8 @@ if (! empty($conf->global->MAIN_DISABLE_CONTACTS_TAB) && $user->rights->ficheint $form = new Form($db); $formfile = new FormFile($db); -$formcontract = new FormContract($db); +if ($conf->contrat->enabled) + $formcontract = new FormContract($db); llxHeader('',$langs->trans("Fichinter")); @@ -982,7 +983,7 @@ if ($action == 'create') $numprojet=$formproject->select_projects($soc->id,GETPOST('projectid','int'),'projectid'); if ($numprojet==0) { - print '   '.$langs->trans("AddProject").''; + print '   '.$langs->trans("AddProject").''; } print ''; }