Skip to content
Snippets Groups Projects
Commit b669085f authored by Nicolas Catusse's avatar Nicolas Catusse
Browse files

Update executionoptions.php

Fix list of based on
parent e46411f9
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ class mod_vpl_executionoptions_form extends moodleform {
FROM course_modules
JOIN vpl ON vpl.id = course_modules.instance
JOIN local_metadata ON course_modules.id = local_metadata.instanceid
WHERE vpl.usableasbase = 1 AND local_metadata.fieldid = 28 AND local_metadata.data = 1");
WHERE vpl.usableasbase = 1 AND local_metadata.fieldid = 28 AND local_metadata.data = 1 AND course_modules.module = 23");
foreach ($vpls_basedon_and_shared as $mod_vpl) {
if ($mod_vpl->instance != $vplid) {
$vpl = new mod_vpl( $mod_vpl->id );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment