Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Summary renderer doesn't respect non-top-level links #126

Open
Arantor opened this issue Mar 24, 2018 · 0 comments
Open

Summary renderer doesn't respect non-top-level links #126

Arantor opened this issue Mar 24, 2018 · 0 comments

Comments

@Arantor
Copy link

Arantor commented Mar 24, 2018

I'm testing this out on an installation that lives at localhost/moodle34/ and on the list of tests, none of the links work because they all end up pointing at localhost/local/cleanurls/

Easy fix - in classes/output/webserver_summary_renderer.php, where there is the html_writer::link call, just have it call via moodle_url instantiation:

html_writer::link(new \moodle_url("/local/cleanurls/webservertest.php?details={$classname}"), $webtest->get_name()),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant