Commit 385fe75335115e694c7e80ba64573c5b3413824a

Authored by Lucas Schmoeller da Silva
1 parent 7e97bbec
Exists in master

Alterado buscas de matrículas

Alterado para que em busca de matrículas ativas não tragam alunos desativos;

portabilis/ieducar#92
ieducar/intranet/include/pmieducar/clsPmieducarMatricula.inc.php
@@ -638,7 +638,7 @@ class clsPmieducarMatricula @@ -638,7 +638,7 @@ class clsPmieducarMatricula
638 } 638 }
639 639
640 if ($int_ativo) { 640 if ($int_ativo) {
641 - $filtros .= "{$whereAnd} m.ativo = '1'"; 641 + $filtros .= "{$whereAnd} m.ativo = '1' AND a.ativo = '1' ";
642 $whereAnd = " AND "; 642 $whereAnd = " AND ";
643 } 643 }
644 elseif (!is_null($int_ativo) && is_numeric($int_ativo)) { 644 elseif (!is_null($int_ativo) && is_numeric($int_ativo)) {