Details
Description
I'm viewing the list of participants for the site on user/index.php?id=1. The settings block is un-docked. If I click on the "Move to side panel" button, I get an error:
You are trying to use an invalid course ID: ()
Stack trace:
- line 37 of /user/index.php: call to print_error()
I'm looking in user/index.php now to see if something is missing.
Made a couple of changes the way in which the link that is associated to the move position icon is generated.
This ensures that should there be a JavaScript error and you get redirected it will still do what it is supposed to and you wont end up at an error page.
Cheers