Commit c4bef3b200d1084506d5d67ca2b2420d99e14d8a
1 parent
6c193aea
Exists in
2.8
and in
6 other branches
Corrige parametro e variável
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
ieducar/lib/Portabilis/View/Helper/DynamicInput/Serie.php
... | ... | @@ -20,7 +20,7 @@ class Portabilis_View_Helper_DynamicInput_Serie extends Portabilis_View_Helper_D |
20 | 20 | $isProfessor = Portabilis_Business_Professor::isProfessor($instituicaoId, $userId); |
21 | 21 | |
22 | 22 | if ($isProfessor && Portabilis_Business_Professor::canLoadSeriesAlocado($instituicaoId)) { |
23 | - $series = Portabilis_Business_Professor::seriesAlocado($instituicaoId, $escolaId, $serieId, $userId); | |
23 | + $resources = Portabilis_Business_Professor::seriesAlocado($instituicaoId, $escolaId, $cursoId, $userId); | |
24 | 24 | } elseif ($escolaId && $cursoId && empty($resources)) { |
25 | 25 | $resources = App_Model_IedFinder::getSeries($instituicaoId = null, $escolaId, $cursoId); |
26 | 26 | } | ... | ... |