Merge remote-tracking branch 'origin/m_code_syntax' into m_code_syntax

This commit is contained in:
Frédéric FRANCE 2021-02-26 18:34:31 +01:00
commit 0411321bbe
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ if (empty($conf->mrp->enabled)) {
} }
$socid = 0; $socid = 0;
if ($user->socid > 0) { // Protection if external user if ($user->socid > 0) { // Protection if external user
//$socid = $user->socid; //$socid = $user->socid;
accessforbidden(); accessforbidden();
} }
//$result = restrictedArea($user, 'mrp', $id, ''); //$result = restrictedArea($user, 'mrp', $id, '');