Commit cea3172ce5baa4f04b232e885217af7dd44d3108
1 parent
325a8884
Exists in
master
and in
1 other branch
Ajustando campo para documento sigiloso com o valor S ou N
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
rn/MdWsSeiProcedimentoRN.php
... | ... | @@ -448,7 +448,7 @@ class MdWsSeiProcedimentoRN extends InfraRN { |
448 | 448 | ), |
449 | 449 | 'anotacoes' => $resultAnotacao, |
450 | 450 | 'status' => array( |
451 | - 'documentoSigiloso' => $protocoloDTO->getStrStaGrauSigilo(), | |
451 | + 'documentoSigiloso' => !is_null($protocoloDTO->getStrStaGrauSigilo()) || !empty($protocoloDTO->getStrStaGrauSigilo()) ? 'S' : 'N', | |
452 | 452 | 'documentoRestrito' => $protocoloDTO->getStrStaNivelAcessoLocal() == 1 ? 'S' : 'N', |
453 | 453 | 'documentoNovo' => $documentoNovo, |
454 | 454 | 'documentoPublicado' => $documentoPublicado, | ... | ... |