Fix: mise en fonction de la vrification des droits d'accs users, clients et commerciaux
This commit is contained in:
parent
ea5d661a0b
commit
657d2f3f16
@ -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();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user