diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php
index 35d488c852415037e5338954c5c9b2cf91fc2a52..73c2c3b37fd92cc7dbb1f2ff8f5eea581927eb57 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"];