diff --git a/htdocs/compta/ventilation/lignes.php b/htdocs/compta/ventilation/lignes.php index 05595cfab46..39a1a5cf9a2 100644 --- a/htdocs/compta/ventilation/lignes.php +++ b/htdocs/compta/ventilation/lignes.php @@ -29,14 +29,12 @@ require("./pre.inc.php"); -if ($_GET["socidp"]) { $socidp=$_GET["socidp"]; } /* * Sécurité accés client */ if ($user->societe_id > 0) { - $action = ''; - $socidp = $user->societe_id; + accessforbidden(); } llxHeader(''); @@ -80,16 +78,16 @@ if ($result) print '