From 369dd3b3a8b815fc1aa6b7c24a15db0787896405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Oliver?= Date: Wed, 6 Apr 2022 10:07:22 -0300 Subject: [PATCH] =?UTF-8?q?Adicionando=20valida=C3=A7=C3=A3o=20para=20tag?= =?UTF-8?q?=20RNTRC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Make.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Make.php b/src/Make.php index be0f2a5..8ee234c 100644 --- a/src/Make.php +++ b/src/Make.php @@ -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",