Skip to content

Commit

Permalink
Fixed bug where workgroups are pulled from the academicYear instead o…
Browse files Browse the repository at this point in the history
…f the organizationYear
  • Loading branch information
d1ff1cult0 committed Aug 5, 2024
1 parent 00bab36 commit ea0709a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/CommonBundle/Controller/Admin/UnitController.php
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ private function findCoordinatorRoleWithParent(Role $role, Unit $parent = null)
private function getAcademicYearEntity()
{
if ($this->getParam('academicyear') === null) {
return $this->getCurrentAcademicYear();
return $this->getCurrentAcademicYear(true);
}

$start = AcademicYear::getDateTime($this->getParam('academicyear'));
Expand Down

0 comments on commit ea0709a

Please sign in to comment.