From 435a07f8176471afbca7d305687c220a7a893f4d Mon Sep 17 00:00:00 2001 From: Thiago Farias Date: Mon, 13 Nov 2017 17:41:49 -0200 Subject: [PATCH] AJustes US042: refs #8517 --- rn/ExpedirProcedimentoRN.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rn/ExpedirProcedimentoRN.php b/rn/ExpedirProcedimentoRN.php index fa2046d..67adb52 100644 --- a/rn/ExpedirProcedimentoRN.php +++ b/rn/ExpedirProcedimentoRN.php @@ -1619,8 +1619,7 @@ class ExpedirProcedimentoRN extends InfraRN { * @param string $strAtributoValidacao */ private function validarHipoteseLegalEnvio(InfraException $objInfraException, ProcedimentoDTO $objProcedimentoDTO, $strAtributoValidacao = null) { - if ($objProcedimentoDTO->getStrStaNivelAcessoGlobalProtocolo() != ProtocoloRN::$NA_RESTRITO) { - + if ($objProcedimentoDTO->getStrStaNivelAcessoGlobalProtocolo() == ProtocoloRN::$NA_RESTRITO) { if (empty($objProcedimentoDTO->getNumIdHipoteseLegalProtocolo())) { $objInfraException->adicionarValidacao('Não é possível expedir processo de nível restrito sem a hipótese legal mapeada.', $strAtributoValidacao); } -- libgit2 0.21.2