re fix
This commit is contained in:
parent
180366a2ca
commit
da1bee6872
1 changed files with 1 additions and 1 deletions
|
|
@ -3573,7 +3573,7 @@ function dol_check_secure_access_document($modulepart, $original_file, $entity,
|
|||
$accessallowed = 1;
|
||||
}
|
||||
}
|
||||
if (($fuser->hasRight($tmpmodule, $lire) || $fuser->hasRight($tmpmodule, $read)) || || preg_match('/^specimen/i', $original_file)) {
|
||||
if (($fuser->hasRight($tmpmodule, $lire) || $fuser->hasRight($tmpmodule, $read)) || preg_match('/^specimen/i', $original_file)) {
|
||||
$accessallowed = 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue