set_original_name wasn't working as expected. Added test.

This commit is contained in:
Benoît Burnichon
2015-07-10 19:06:10 +02:00
parent c0ceb65ba2
commit afbacaa640
3 changed files with 21 additions and 5 deletions

View File

@@ -89,7 +89,7 @@ class databox_descriptionStructure implements IteratorAggregate, Countable
/**
* @param string $name
* @return databox_field
* @return databox_field|null
*/
public function get_element_by_name($name)
{