Skip to content
Snippets Groups Projects
Commit e363594e authored by xamgore's avatar xamgore
Browse files

Faculty select is hidden at subjects/ page

parent 3ab49d90
Branches
Tags
No related merge requests found
......@@ -17,7 +17,7 @@ class Controller_Office_Subjects extends Controller_Environment_Office
$this->twig->set([
'UploadingResult' => $result,
'Faculties' => Model_Faculties::load(),
'Faculties' => $this->user->isAdmin() ? Model_Faculties::load() : [],
])->set_filename(static::OFFICE . 'subjects/upload');
}
}
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