Fix: missing socid
This commit is contained in:
parent
a65f898613
commit
bfe1ed994a
@ -54,7 +54,7 @@ $comid = GETPOST("id");
|
|||||||
if (empty($comid)) $comid=GETPOST("orderid");
|
if (empty($comid)) $comid=GETPOST("orderid");
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
$socid=0;
|
$socid=GETPOST('socid');
|
||||||
if ($user->societe_id) $socid=$user->societe_id;
|
if ($user->societe_id) $socid=$user->societe_id;
|
||||||
$result=restrictedArea($user,'commande',$comid,'');
|
$result=restrictedArea($user,'commande',$comid,'');
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user