Commit bcde2eac9b175ae3cc10c628d7b1317df3609694
1 parent
c21b8846
Exists in
master
and in
1 other branch
[Fix] Corrigindo validação
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
rn/MdWsSeiBlocoRN.php
... | ... | @@ -263,7 +263,7 @@ class MdWsSeiBlocoRN extends InfraRN { |
263 | 263 | if (!$relBlocoProtocoloDTOParam->isSetNumIdBloco()) { |
264 | 264 | throw new InfraException('O bloco deve ser informado.'); |
265 | 265 | } |
266 | - if (!$relBlocoProtocoloDTOParam->isSetNumIdBloco()) { | |
266 | + if (!$relBlocoProtocoloDTOParam->isSetDblIdProtocolo()) { | |
267 | 267 | throw new InfraException('O protocolo deve ser informado.'); |
268 | 268 | } |
269 | 269 | if (!$relBlocoProtocoloDTOParam->isSetStrAnotacao()) { | ... | ... |