diff --git a/ieducar/modules/DynamicInput/Views/ComponenteCurricularController.php b/ieducar/modules/DynamicInput/Views/ComponenteCurricularController.php index 6a45b3b..08b9eee 100644 --- a/ieducar/modules/DynamicInput/Views/ComponenteCurricularController.php +++ b/ieducar/modules/DynamicInput/Views/ComponenteCurricularController.php @@ -50,8 +50,7 @@ class ComponenteCurricularController extends ApiCoreController { protected function canGetComponentesCurriculares() { - return $this->validatesId('escola') && - $this->validatesId('turma') && + return $this->validatesId('turma') && $this->validatesPresenceOf('ano'); } -- libgit2 0.21.2