Commit c284f6a0608e2b05ba89554e45168e5c2349948f

Authored by bonot
1 parent 62bf3e93
Exists in 2.9 and in 8 other branches 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8

Corrige campo de justificativa para apagar corretamente informação

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 != '') {
... ...