Update dispatch.php

This commit is contained in:
Laurent Destailleur 2019-12-19 11:35:50 +01:00 committed by GitHub
parent a71f0e3472
commit 0f30e6f73b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ $action = GETPOST('action', 'aZ09');
$fk_default_warehouse = GETPOST('fk_default_warehouse', 'int');
if ($user->socid)
$socid = $user->societe_id;
$socid = $user->socid;
$result = restrictedArea($user, 'fournisseur', $id, 'commande_fournisseur', 'commande');
if (empty($conf->stock->enabled)) {