Can't remove another course from Condition: Completion of other courses

Re: Can't remove another course from Condition: Completion of other courses

by Megan Alfaro -
Number of replies: 2
Hi everyone,
Can someone please share the workaround in boost theme in order to remove a course from the list? Thanks,
Megan
In reply to Megan Alfaro

Re: Can't remove another course from Condition: Completion of other courses

by umer Ahmed -
Hi , I need the work around as well . Need to remove course that was selected by mistake.
In reply to Megan Alfaro

Re: Can't remove another course from Condition: Completion of other courses

by umer Ahmed -
This worked for me , the  work around that will fix the issue

in the file /moodle/course/completion_form.php

add the below right above the comment "// Show mutliselect box "

add " $selectbox[0]='None';  "

This will add "None" in the select box. When you don't want any course select "None" in the select list. The course the was not going away will be removed and not saved.