-
Bug
-
Resolution: Fixed
-
Minor
-
2.3
-
MOODLE_23_STABLE
-
MOODLE_23_STABLE
-
Was testing MDL-33480 and, trying to restore it to one course I saw 2 notices ("undefined restorefiles @ #2574").
To reproduce such notices is really tricky (it's required to have one course record without any section record, but I had one of those).
Conceptually, it's clear that there are no fileareas based on course_sectionnumber, so that parameter in the set_mapping() call should be omited (aka, defaults to false).
So this is simply one change to omit it and avoid that "potential" notice. Note it can be considered a minor regression of MDL-32766.
Ciao