Update dispatch.php
This commit is contained in:
parent
a71f0e3472
commit
0f30e6f73b
@ -55,7 +55,7 @@ $action = GETPOST('action', 'aZ09');
|
|||||||
$fk_default_warehouse = GETPOST('fk_default_warehouse', 'int');
|
$fk_default_warehouse = GETPOST('fk_default_warehouse', 'int');
|
||||||
|
|
||||||
if ($user->socid)
|
if ($user->socid)
|
||||||
$socid = $user->societe_id;
|
$socid = $user->socid;
|
||||||
$result = restrictedArea($user, 'fournisseur', $id, 'commande_fournisseur', 'commande');
|
$result = restrictedArea($user, 'fournisseur', $id, 'commande_fournisseur', 'commande');
|
||||||
|
|
||||||
if (empty($conf->stock->enabled)) {
|
if (empty($conf->stock->enabled)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user