Commit c284f6a0608e2b05ba89554e45168e5c2349948f
1 parent
62bf3e93
Exists in
2.9
and in
8 other branches
Corrige campo de justificativa para apagar corretamente informação
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
ieducar/intranet/include/pmieducar/clsPmieducarAluno.inc.php
... | ... | @@ -590,6 +590,9 @@ class clsPmieducarAluno |
590 | 590 | if (is_numeric($this->justificativa_falta_documentacao)) { |
591 | 591 | $set .= "{$gruda}justificativa_falta_documentacao = '{$this->justificativa_falta_documentacao}'"; |
592 | 592 | $gruda = ', '; |
593 | + } else { | |
594 | + $set .= "{$gruda}justificativa_falta_documentacao = null"; | |
595 | + $gruda = ', '; | |
593 | 596 | } |
594 | 597 | |
595 | 598 | if (is_string($this->url_documento) && $this->url_documento != '') { | ... | ... |