diff options
Diffstat (limited to 'modules/atom/libraries/Atom_Base.php')
-rw-r--r-- | modules/atom/libraries/Atom_Base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/atom/libraries/Atom_Base.php b/modules/atom/libraries/Atom_Base.php index 6e0098da..bf115033 100644 --- a/modules/atom/libraries/Atom_Base.php +++ b/modules/atom/libraries/Atom_Base.php @@ -66,7 +66,7 @@ class Atom_Base_Core { protected function add_children_to_base_element() { foreach ($this->children as $element_type => $elements) { - $base_element = $this->dom->getElementsByTagName($this->element_name)->item(0); + $base_element = $this->element; foreach ($elements as $id => $element) { $base_element->appendChild($element->get_element()); } |