mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-09 19:13:26 +00:00
fix choose option
This commit is contained in:
@@ -197,6 +197,8 @@ class databox_subdefsStructure implements IteratorAggregate, Countable
|
||||
$subdef = $dom_struct->createElement('subdef');
|
||||
$subdef->setAttribute('class', $class);
|
||||
$subdef->setAttribute('name', mb_strtolower($name));
|
||||
|
||||
$preset = ($preset == 'Choose') ? 'Custom' : $preset ;
|
||||
$subdef->setAttribute('presets', $preset);
|
||||
|
||||
$mediaTypeElement = $dom_struct->createElement('mediatype');
|
||||
|
Reference in New Issue
Block a user