diff --git a/ieducar/intranet/educar_escola_serie_det.php b/ieducar/intranet/educar_escola_serie_det.php index 223bc66..c3826c1 100644 --- a/ieducar/intranet/educar_escola_serie_det.php +++ b/ieducar/intranet/educar_escola_serie_det.php @@ -161,13 +161,12 @@ class indice extends clsDetalhe } $obj = new clsPmieducarEscolaSerieDisciplina(); - $lst = $obj->lista($this->ref_cod_serie, $this->ref_cod_escola, NULL,1); + $escolaSerieDisciplinas = $obj->lista($this->ref_cod_serie, $this->ref_cod_escola, NULL, 1); - // Instancia o mapper de ano escolar - $anoEscolar = new ComponenteCurricular_Model_AnoEscolarDataMapper(); - $componentes = $anoEscolar->findComponentePorSerie($this->ref_cod_serie); + // Mapper de componente curricular + $componenteMapper = new ComponenteCurricular_Model_ComponenteDataMapper(); - if ($componentes) { + if ($escolaSerieDisciplinas) { $tabela = '
%s | -- libgit2 0.21.2