Skip to content

Commit 1deba4e

Browse files
author
Matthias Opitz
committed
CTP-4443: checking archetype for student
1 parent 223bdac commit 1deba4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

block_my_feedback.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private static function get_student_role_ids(): array {
9292
global $DB;
9393

9494
return $DB->get_fieldset_select('role', 'id',
95-
'shortname IN (:role1)',
95+
'archetype IN (:role1)',
9696
[
9797
'role1' => 'student',
9898
]

0 commit comments

Comments
 (0)