From 657d2f3f16decf8436540c8d35c58b33cbc4418b Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 21 Jun 2007 20:17:23 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20mise=20en=20fonction=20de=20la=20v=E9rif?= =?UTF-8?q?ication=20des=20droits=20d'acc=E8s=20users,=20clients=20et=20co?= =?UTF-8?q?mmerciaux?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/fichinter/index.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/htdocs/fichinter/index.php b/htdocs/fichinter/index.php index f3adef93972..89fc0fb1005 100644 --- a/htdocs/fichinter/index.php +++ b/htdocs/fichinter/index.php @@ -42,7 +42,6 @@ if ($user->societe_id > 0) $sortorder=$_GET["sortorder"]?$_GET["sortorder"]:$_POST["sortorder"]; $sortfield=$_GET["sortfield"]?$_GET["sortfield"]:$_POST["sortfield"]; -$socid=$_GET["socid"]?$_GET["socid"]:$_POST["socid"]; $page=$_GET["page"]?$_GET["page"]:$_POST["page"]; if (! $sortorder) $sortorder="DESC"; @@ -54,13 +53,6 @@ $offset = $limit * $page ; $pageprev = $page - 1; $pagenext = $page + 1; -// Securité accès client -if ($user->societe_id > 0) -{ - $action = ''; - $socid = $user->societe_id; -} - llxHeader();