Fix link to files

This commit is contained in:
Laurent Destailleur
2017-03-25 01:29:19 +01:00
parent aa9d991923
commit df59a595de
2 changed files with 2 additions and 1 deletions

View File

@@ -1726,7 +1726,7 @@ function dol_check_secure_access_document($modulepart,$original_file,$entity,$fu
$original_file=$conf->expedition->dir_output."/sending/".$original_file;
}
// Wrapping pour les bons de livraison
if ($modulepart == 'livraison' && !empty($conf->expedition->dir_output))
else if ($modulepart == 'livraison' && !empty($conf->expedition->dir_output))
{
if ($fuser->rights->expedition->livraison->lire || preg_match('/^specimen/i',$original_file))
{