Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mackensen committed Dec 6, 2024
1 parent 8e09e83 commit 4695355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static function add_instance($params) {
$fields = $params['params'];

// Verify the course.
$course = $DB->get_record('course', ['id '=> $fields['courseid']], '*', MUST_EXIST);
$course = $DB->get_record('course', ['id ' => $fields['courseid']], '*', MUST_EXIST);

$plugin = enrol_get_plugin('manual');

Expand Down

0 comments on commit 4695355

Please sign in to comment.