Thanks Rex for the peer-review!
Part of: MDL-46576
Change backup and restore to not include the field, and to cope correctly with 2.6 (and before) and 2.7 backups.
When the course idnumber is set during a same site course restore, retain the course idnumber if there are no duplicates.
…ty_task Signed-off-by: Tony Butler <email@example.com>
The issue was that clean_param took an int and returned a string and the result was used in an exact comparison. The type change mean the comparison failed. The solution was to ensure the param was cast as a string.
…en necessary data is missing
…storing a course