From 5f4447b31921379b74aad2727fc2cb0907a5afca Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Sat, 23 Feb 2008 15:49:18 +0000
Subject: [PATCH] Fix: Access on third party card

---
 htdocs/comm/fiche.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php
index 35d488c8524..73c2c3b37fd 100644
--- a/htdocs/comm/fiche.php
+++ b/htdocs/comm/fiche.php
@@ -44,7 +44,7 @@ if ($conf->fichinter->enabled) $langs->load("interventions");
 $socid = isset($_GET["socid"])?$_GET["socid"]:'';
 
 // Securite d'acces client et commerciaux
-$socid = restrictedArea($user, 'societe', $socid);
+$result = restrictedArea($user, 'societe', $socid);
 
 $sortorder=$_GET["sortorder"];
 $sortfield=$_GET["sortfield"];
-- 
GitLab