Commit bbde7f1480aadd28c1b941defdbb0cb04b8cb1f5
1 parent
5602008e
Exists in
master
Corrigido bug na atribuição de valores para exibição de notas/faltas no relatório
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
ieducar/intranet/educar_relatorio_alunos_nota_semestre_disc_proc.php
... | ... | @@ -281,10 +281,14 @@ class indice extends clsCadastro |
281 | 281 | foreach ($array_disc as $cid => $disc) { |
282 | 282 | if ($this->tipo == 'n') { |
283 | 283 | $array_val[] = $notas[$cid]->notaArredondada; |
284 | + continue; | |
284 | 285 | } |
285 | 286 | else { |
286 | 287 | $array_val[] = $faltas[$cid]->quantidade; |
288 | + continue; | |
287 | 289 | } |
290 | + | |
291 | + $array_val[] = ''; | |
288 | 292 | } |
289 | 293 | |
290 | 294 | $relatorio->novalinha($array_val, 0, $tam_linha, FALSE, 'arial', | ... | ... |