From ea0709a16601b9530397ac1aff51fb9acc7460c5 Mon Sep 17 00:00:00 2001 From: d1ff1cult0 Date: Mon, 5 Aug 2024 20:38:20 +0200 Subject: [PATCH] Fixed bug where workgroups are pulled from the academicYear instead of the organizationYear --- module/CommonBundle/Controller/Admin/UnitController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/CommonBundle/Controller/Admin/UnitController.php b/module/CommonBundle/Controller/Admin/UnitController.php index 5ceb3c8a8c..02a2bbd13d 100644 --- a/module/CommonBundle/Controller/Admin/UnitController.php +++ b/module/CommonBundle/Controller/Admin/UnitController.php @@ -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'));