mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
fix #312 subdef structure for a preview is duplicate
This commit is contained in:
@@ -179,7 +179,7 @@ class databox_subdefsStructure implements IteratorAggregate
|
||||
|
||||
$subdef = $dom_struct->createElement('subdef');
|
||||
$subdef->setAttribute('class', $class);
|
||||
$subdef->setAttribute('name', $name);
|
||||
$subdef->setAttribute('name', mb_strtolower($name));
|
||||
|
||||
$dom_xp = $this->databox->get_xpath_structure();
|
||||
$query = '//record/subdefs/subdefgroup[@name="' . $groupname . '"]';
|
||||
|
Reference in New Issue
Block a user