mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-58138 completion: Fixes for a number of small issues.
This commit is contained in:
parent
32b93ea7f8
commit
273d310601
25 changed files with 90 additions and 146 deletions
|
@ -298,9 +298,9 @@ class mod_forum_mod_form extends moodleform_mod {
|
|||
*
|
||||
* Only available on moodleform_mod.
|
||||
*
|
||||
* @param stdClass $data passed by reference
|
||||
* @param stdClass $data the form data to be modified.
|
||||
*/
|
||||
public function data_postprocessing(&$data) {
|
||||
public function data_postprocessing($data) {
|
||||
parent::data_postprocessing($data);
|
||||
// Turn off completion settings if the checkboxes aren't ticked
|
||||
if (!empty($data->completionunlocked)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue