Skip to content
Snippets Groups Projects
Commit 3f69b1fd authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Revert "Fix remove a line that look useless"

This reverts commit 1610926c.
parent 1610926c
No related branches found
No related tags found
No related merge requests found
......@@ -1935,8 +1935,7 @@ function dol_check_secure_access_document($modulepart,$original_file,$entity,$fu
$original_file=$conf->$modulepart->dir_output.'/'.$original_file;
}
}
//if (preg_match('/^specimen/i',$original_file)) $accessallowed=1; // If link to a specimen
if (preg_match('/^specimen/i',$original_file)) $accessallowed=1; // If link to a specimen
if ($fuser->admin) $accessallowed=1; // If user is admin
// For modules who wants to manage different levels of permissions for documents
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment