Commit ad212b4d30aa04bee5f348e3b627b179cd2ef584
1 parent
e8587452
Exists in
master
Alterado listagem de escolas
A listagem não deve exibir escolas inativas por padrão. portabilis/ieducar#53
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
ieducar/intranet/include/pmieducar/clsPmieducarEscola.inc.php
... | ... | @@ -523,6 +523,9 @@ class clsPmieducarEscola |
523 | 523 | if (is_numeric($int_ativo)) { |
524 | 524 | $filtros .= "{$whereAnd} ativo = '{$int_ativo}'"; |
525 | 525 | $whereAnd = " AND "; |
526 | + }else{ | |
527 | + $filtros .= "{$whereAnd} ativo = 1 "; | |
528 | + $whereAnd = " AND "; | |
526 | 529 | } |
527 | 530 | |
528 | 531 | if (is_string( $str_nome)) { | ... | ... |