-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
1.7
-
None
-
RHEL/CentOS/Fedora
-
MOODLE_17_STABLE
As a result of mymoodle's inability to provide an accurate pageid to page_create_instance() (MDL-4550) the Poll Block redirect is affected.
When a user submits a response to the poll block the user is redirected to course/view?id=
{courseid} - in the case of mymoodle {courseid}is the user's id causing in a invalid page to be displayed.
I have created a patch for the Poll Block which checks if $_SERVER["HTTP_REFERER"] contains a mymoodle url and redirects back to my moodle if this is true.