fix #312 subdef structure for a preview is duplicate

This commit is contained in:
Nicolas Le Goff
2012-02-03 15:32:52 +01:00
parent 50af32532e
commit 6a437a3831
3 changed files with 3 additions and 3 deletions

View File

@@ -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 . '"]';