This commit is contained in:
Laurent Destailleur 2013-06-04 22:03:11 +02:00
parent d3cf8479e3
commit 7b0897a669

View File

@ -100,7 +100,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'];
// Basic protection (against external users only)
if ($user->societe_id > 0)