mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Use TechnicalDataSet in record_adapter
This commit is contained in:
@@ -96,7 +96,7 @@ class CaptionSerializer extends AbstractSerializer
|
||||
|
||||
$doc = $dom_doc->createElement('doc');
|
||||
|
||||
$tc_datas = $caption->get_record()->get_technical_infos();
|
||||
$tc_datas = $caption->get_record()->get_technical_infos()->getValues();
|
||||
|
||||
foreach ($tc_datas as $key => $data) {
|
||||
$doc->setAttribute($key, $data);
|
||||
|
Reference in New Issue
Block a user