Skip to content
Snippets Groups Projects
Commit b97297c6 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #580

parent a5814cf6
No related branches found
No related tags found
No related merge requests found
......@@ -198,6 +198,10 @@ class RolePersistence
*/
public static function isAssignedRole($userid, $assignedrole, $institut_id = '')
{
if (!$userid) {
return false;
}
$faculty_id = $institut_id
? Institute::find($institut_id)->fakultaets_id
: null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment