Fix delete file not possible for external user even with permissions

This commit is contained in:
Laurent Destailleur
2017-08-30 14:34:36 +02:00
parent 991a33f7b6
commit d3c95e030b
6 changed files with 22 additions and 24 deletions

View File

@@ -44,7 +44,6 @@ $ref = GETPOST('ref');
// Security check
if ($user->societe_id)
{
$action='';
$socid = $user->societe_id;
}
$result=restrictedArea($user,'commande',$id,'');