mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +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
|
@ -550,9 +550,9 @@ class mod_scorm_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);
|
||||
// Convert completionstatusrequired to a proper integer, if any.
|
||||
$total = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue