Fix: mise en fonction de la vrification des droits d'accs users, clients et commerciaux

This commit is contained in:
Regis Houssin 2007-06-21 20:17:23 +00:00
parent ea5d661a0b
commit 657d2f3f16

View File

@ -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();