diff --git a/htdocs/fichinter/fiche.php3 b/htdocs/fichinter/fiche.php3 index 3f6ce37ef81..6caf76627c8 100644 --- a/htdocs/fichinter/fiche.php3 +++ b/htdocs/fichinter/fiche.php3 @@ -436,7 +436,7 @@ if ($socidp) { $sql .= "AND s.idp = $socidp"; } -if (isset($fichinter)) +if ($fichinter > 0) { $sql .= "AND s.idp = $fichinter->societe_id"; }