piersharding / moodle-tool_uploadcourse

** Note** this is now in Moodle core as of 2.6. Moodle Admin Tools plugin for basic upload of course outlines, and applying templates using Moodle course backup files
21 stars 12 forks source link

minor issue: link to module on completion is bad #11

Open mikeatcityuni opened 11 years ago

mikeatcityuni commented 11 years ago

in the final page after processing the list of modules is displayed with a column for short name ... the link is badly formed:

course/view.php?id =n there is a space before the =

piersharding commented 11 years ago

Hi - I have tested this with latest moodle-tool_uploadcourse and Moodle master, and cannot recreate the problem. The code uses the core Moodle functions to create URLs - something like: new moodle_url('/course/view.php', array('id' => $course->id)

So it could well be a regression there. If you supply me with an example test file, then I can try that out.

Cheers, Piers Harding.