Commit db27a375 authored by Open Source Developer's avatar Open Source Developer

bug fixed

parent fb678e88
...@@ -501,7 +501,7 @@ class DirectorView extends ControllerBase ...@@ -501,7 +501,7 @@ class DirectorView extends ControllerBase
$list = array(); $list = array();
$categ = $SchoolCat->metathesis_region->value; $categ = $SchoolCat->metathesis_region->value;
} }
$CourseA = $this->entityTypeManager->getStorage('epal_student')->loadByProperties(array('id' => $schoolid)); $CourseA = $this->entityTypeManager->getStorage('eepal_school')->loadByProperties(array('id' => $schoolid));
if ($CourseA) { if ($CourseA) {
$limit_down = $this->entityTypeManager->getStorage('epal_class_limits')->loadByProperties(array('name' => 1, 'category' => $categ)); $limit_down = $this->entityTypeManager->getStorage('epal_class_limits')->loadByProperties(array('name' => 1, 'category' => $categ));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment