Skip to content

Commit

Permalink
SV-28 Code error in Moodle activities block
Browse files Browse the repository at this point in the history
  • Loading branch information
odeialba committed Sep 7, 2023
1 parent be09b37 commit ac902e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Changelog

## 1.0.5 - 2023-06-30
## 1.0.5 - 2023-09-07
### Added
- Added missing language strings.
### Fixed
- When users click on preference voting in the course side block of activities, they get a coding error message.

## 1.0.4 - 2023-06-19
### Added
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
$coursecontext = context_course::instance($course->id);

$event = \mod_sortvoting\event\course_module_instance_list_viewed::create([
'context' => $modulecontext
'context' => $coursecontext
]);
$event->add_record_snapshot('course', $course);
$event->trigger();
Expand Down

0 comments on commit ac902e9

Please sign in to comment.