mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'MDL-46451_restoreError' of git://github.com/moodlerooms/moodle
This commit is contained in:
commit
7dc74ce75f
@ -74,6 +74,9 @@ class restore_lti_activity_structure_step extends restore_activity_structure_ste
|
||||
$data->course = $this->get_courseid();
|
||||
$data->servicesalt = uniqid('', true);
|
||||
|
||||
// Grade used to be a float (whole numbers only), restore as int.
|
||||
$data->grade = (int) $data->grade;
|
||||
|
||||
// Clean any course or site typeid. All modules
|
||||
// are restored as self-contained. Note this is
|
||||
// an interim solution until the issue below is implemented.
|
||||
|
Loading…
x
Reference in New Issue
Block a user