Skip to content

Commit 9ee8ef3

Browse files
author
Matthias Opitz
committed
only showing module types supported by feedback_tracker
1 parent e826bc0 commit 9ee8ef3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

block_my_feedback.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ public static function fetch_marking(stdClass $user): ?array {
169169
}
170170
} else {
171171
// Check mod has duedate and require marking.
172-
if (self::add_mod_data($mod, $assess)) {
172+
if (\report_feedback_tracker\local\helper::is_supported_module($mod->modname) &&
173+
self::add_mod_data($mod, $assess)) {
173174
$marking[] = $assess;
174175
}
175176
}

0 commit comments

Comments
 (0)