Commit c42ceeb4d988f45f412c5645c2cfbce796f66d30

Authored by eduardo.batista
1 parent 512a02be
Exists in master and in 1 other branch desenv

[Feat] Pequena alteração na validação da prioridade da anotação.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
rn/MdWsSeiAnotacaoRN.php
... ... @@ -27,7 +27,7 @@ class MdWsSeiAnotacaoRN extends InfraRN {
27 27  
28 28 $anotacaoDTO->setDthAnotacao(InfraData::getStrDataHoraAtual());
29 29  
30   - if (isset($post['prioridade'])) {
  30 + if (isset($post['prioridade']) && in_array($post['prioridade'], arrray('S', 'N'))) {
31 31 $anotacaoDTO->setStrSinPrioridade($post['prioridade']);
32 32 }else{
33 33 $anotacaoDTO->setStrSinPrioridade('N');
... ...