Skip to content

Commit

Permalink
Adicionando validação para tag RNTRC
Browse files Browse the repository at this point in the history
  • Loading branch information
VINICIUSOLIVER committed Apr 6, 2022
1 parent 95b9ddf commit 369dd3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Make.php
Expand Up @@ -1499,7 +1499,7 @@ public function tagRodo($rntrc = '') {
$this->rodo = $this->dom->createElement("rodo");
$this->infANTT = $this->dom->createElement('infANTT');

if ($rntrc) {
if (!is_null($rntrc) && $rntrc !== "") {
$this->dom->addChild(
$this->infANTT,
"RNTRC",
Expand Down

0 comments on commit 369dd3b

Please sign in to comment.