mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 10:23:17 +00:00
PHRAS-3033
This commit is contained in:
@@ -69,7 +69,7 @@ class ToolsController extends Controller
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$label = $this->app->trans('prod::tools: document');
|
$label = $this->app->trans('prod::tools: document');
|
||||||
} elseif ($databoxSubdefs->hasSubdef($subdefName)) {
|
} elseif ($databoxSubdefs !== null && $databoxSubdefs->hasSubdef($subdefName)) {
|
||||||
if (!$acl->has_access_to_subdef($record, $subdefName)) {
|
if (!$acl->has_access_to_subdef($record, $subdefName)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user