mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-08 10:34:34 +00:00
Fix #1351 : Substitution files are considered valid for download
This commit is contained in:
@@ -179,7 +179,7 @@ class record_exportElement extends record_adapter
|
||||
}
|
||||
|
||||
if ($go_dl[$class]) {
|
||||
if (isset($sd[$name]) && is_file($sd[$name]->get_pathfile())) {
|
||||
if (isset($sd[$name]) && $sd[$name]->is_physically_present()) {
|
||||
if ($class == 'document') {
|
||||
|
||||
if ($this->app['authentication']->getUser()->ACL()->is_restricted_download($this->base_id)) {
|
||||
|
Reference in New Issue
Block a user