catalyst / moodle-mod_reengagement

Allows timed release of content and emails users to remind them to complete a course activity
23 stars 39 forks source link

Dropdown not working in participant view #165

Open eledia opened 1 month ago

eledia commented 1 month ago

Error in Moodle 4.4 mod_reengagement 2023020804

Dropdown not working in participant view due to javascript error

We can fix this by changing these values ​​from $cm->id to $course->id

mod/reengagement/view.php Line 137 'data-course-id' => $course->id, Line 189 $options->courseid = $course->id;

danmarsden commented 1 month ago

thanks for the report - definitely looks wrong there! - feel free to help further by sending through a PR with the patch otherwise we'll try to get to that sometime soon.