MDL-68715 completion: fix form default value for course prerequisites.

Adds filtering on the completion criteria form to ensure we are only
selecting actual course instances of this type. Prior to this change
we would also get NULL values from unrelated criteria types.
This commit is contained in:
Paul Holden
2020-07-14 12:45:58 +01:00
parent 8e619076cb
commit b4a73ff47f
4 changed files with 46 additions and 3 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2020061501.00; // 20200615 = branching date YYYYMMDD - do not modify!
$version = 2020061501.01; // 20200615 = branching date YYYYMMDD - do not modify!
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.
$release = '3.9.1 (Build: 20200713)'; // Human-friendly version name