mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 13:33:14 +00:00
update SubdefsController
This commit is contained in:
@@ -21,9 +21,9 @@ class SubdefsController extends Controller
|
||||
public function metadataAction($databox_id, $record_id, $subdef_name)
|
||||
{
|
||||
$record = new \record_adapter($this->app, (int) $databox_id, (int) $record_id);
|
||||
$metadataBag = new MetadataBag();
|
||||
|
||||
try {
|
||||
$metadataBag = new MetadataBag();
|
||||
$fileEntity = $this->getExifToolReader()
|
||||
->files($record->get_subdef($subdef_name)->getRealPath())
|
||||
->first();
|
||||
|
Reference in New Issue
Block a user