Commit 435a07f8176471afbca7d305687c220a7a893f4d
1 parent
841f4367
Exists in
master
and in
21 other branches
AJustes US042: refs #8517
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
rn/ExpedirProcedimentoRN.php
... | ... | @@ -1619,8 +1619,7 @@ class ExpedirProcedimentoRN extends InfraRN { |
1619 | 1619 | * @param string $strAtributoValidacao |
1620 | 1620 | */ |
1621 | 1621 | private function validarHipoteseLegalEnvio(InfraException $objInfraException, ProcedimentoDTO $objProcedimentoDTO, $strAtributoValidacao = null) { |
1622 | - if ($objProcedimentoDTO->getStrStaNivelAcessoGlobalProtocolo() != ProtocoloRN::$NA_RESTRITO) { | |
1623 | - | |
1622 | + if ($objProcedimentoDTO->getStrStaNivelAcessoGlobalProtocolo() == ProtocoloRN::$NA_RESTRITO) { | |
1624 | 1623 | if (empty($objProcedimentoDTO->getNumIdHipoteseLegalProtocolo())) { |
1625 | 1624 | $objInfraException->adicionarValidacao('Não é possível expedir processo de nível restrito sem a hipótese legal mapeada.', $strAtributoValidacao); |
1626 | 1625 | } | ... | ... |