Code comment

This commit is contained in:
Laurent Destailleur 2016-12-12 15:41:31 +01:00
parent bfb628dab6
commit 51eb3726dc

View File

@ -109,7 +109,7 @@ if (empty($modulepart)) accessforbidden('Bad value for parameter modulepart');
$check_access = dol_check_secure_access_document($modulepart,$original_file,$entity,$refname);
$accessallowed = $check_access['accessallowed'];
$sqlprotectagainstexternals = $check_access['sqlprotectagainstexternals'];
$original_file = $check_access['original_file'];
$original_file = $check_access['original_file']; // original_file is now a full path name
// Basic protection (against external users only)
if ($user->societe_id > 0)