Fix: missing socid
This commit is contained in:
parent
8e912dde63
commit
eaf3e2a3ec
@ -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