Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bupy7 authored Nov 8, 2018
1 parent 84862d4 commit c5fcbb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/XmlConstructor.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public function fromArray($in)
if (isset($element['attributes']) && is_array($element['attributes'])) {
$attributes = $element['attributes'];
}
$content = null;
if (isset($element['content'])) {
$content = $element['content'];
} elseif (isset($element['elements']) && is_array($element['elements'])) {
Expand Down

0 comments on commit c5fcbb4

Please sign in to comment.