Commit c5255ce4cac5cce5e4f799e145f0ccfda5b17e2b
1 parent
70648c70
Exists in
master
and in
1 other branch
Ajuste final do na pesquisa de tipos de documentos
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
rn/MdWsSeiDocumentoRN.php
| ... | ... | @@ -165,7 +165,7 @@ class MdWsSeiDocumentoRN extends DocumentoRN { |
| 165 | 165 | if ( |
| 166 | 166 | ($aux->getNumIdSerie() == $id || !$id) && |
| 167 | 167 | (($nomeFormatado && strpos(utf8_encode($objDtoFormatado), $nomeFormatado) !== false) || !$nomeFormatado) && |
| 168 | - (in_array($aux->getStrStaAplicabilidade(), $aplicabilidade) == $aplicabilidade || !$aplicabilidade) | |
| 168 | + (in_array($aux->getStrStaAplicabilidade(), $aplicabilidade) == $aplicabilidade || !$aplicabilidade[0]) | |
| 169 | 169 | ) { |
| 170 | 170 | $arrayRetorno[] = array( |
| 171 | 171 | "id" => $aux->getNumIdSerie(), | ... | ... |