Commit 773731f3ef7fd44ba462f175d5b9deb158a77463
1 parent
1e763ecc
Exists in
master
and in
1 other branch
[Fix] Corrigindo compatibilidade com 3.0.7
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
rn/MdWsSeiDocumentoRN.php
| @@ -258,6 +258,11 @@ class MdWsSeiDocumentoRN extends InfraRN { | @@ -258,6 +258,11 @@ class MdWsSeiDocumentoRN extends InfraRN { | ||
| 258 | $editorDTOConsulta->setStrSinRodape('S'); | 258 | $editorDTOConsulta->setStrSinRodape('S'); |
| 259 | $editorDTOConsulta->setStrSinIdentificacaoVersao('S'); | 259 | $editorDTOConsulta->setStrSinIdentificacaoVersao('S'); |
| 260 | $editorDTOConsulta->setStrSinProcessarLinks('S'); | 260 | $editorDTOConsulta->setStrSinProcessarLinks('S'); |
| 261 | + | ||
| 262 | + if(MdWsSeiEditorRN::versaoCarimboPublicacaoObrigatorio()){ | ||
| 263 | + $editorDTOConsulta->setStrSinCarimboPublicacao('N'); | ||
| 264 | + } | ||
| 265 | + | ||
| 261 | $editorRN = new EditorRN(); | 266 | $editorRN = new EditorRN(); |
| 262 | $html = $editorRN->consultarHtmlVersao($editorDTOConsulta); | 267 | $html = $editorRN->consultarHtmlVersao($editorDTOConsulta); |
| 263 | 268 |