mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Merge branch 'master' of https://github.com/alchemy-fr/Phraseanet into PHRAS-2507_Enhance_addplugin_downloadplugin
This commit is contained in:
@@ -73,6 +73,9 @@ class SubdefSubstituer
|
|||||||
|
|
||||||
$this->createMediaSubdef($record, 'document', $media);
|
$this->createMediaSubdef($record, 'document', $media);
|
||||||
|
|
||||||
|
$record->setMimeType($media->getFile()->getMimeType());
|
||||||
|
$record->setType($media->getType());
|
||||||
|
|
||||||
$record->write_metas();
|
$record->write_metas();
|
||||||
|
|
||||||
if ($shouldSubdefsBeRebuilt) {
|
if ($shouldSubdefsBeRebuilt) {
|
||||||
|
|||||||
Reference in New Issue
Block a user