Skip to content

Commit

Permalink
Merge pull request #181 from paseto/master
Browse files Browse the repository at this point in the history
[UPD] #178
  • Loading branch information
paseto committed Oct 24, 2018
2 parents 9863ff6 + 6b2ad73 commit 97cc36d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Make.php
Expand Up @@ -1606,9 +1606,10 @@ public function tagenderToma($std)
false,
$identificador . 'Nome do país'
);

$node = $this->toma4->getElementsByTagName("email")->item(0);
$this->toma4->insertBefore($this->enderToma, $node);

if (!empty($this->toma4)) {
$this->toma4->insertBefore($this->enderToma, $this->toma4->getElementsByTagName("email")->item(0));
}
return $this->enderToma;
}

Expand Down

0 comments on commit 97cc36d

Please sign in to comment.