1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-14 13:02:07 +02:00

Merge branch 'wip-MDL-62796-master' of git://github.com/marinaglancy/moodle

This commit is contained in:
David Monllao 2018-07-02 12:21:42 +02:00
commit 3f3d7fec0c

@ -83,7 +83,7 @@ function tool_policy_before_standard_html_head() {
if (!empty($CFG->sitepolicyhandler)
&& $CFG->sitepolicyhandler == 'tool_policy'
&& empty($USER->policyagreed)
&& isguestuser()) {
&& (isguestuser() || !isloggedin())) {
$output = $PAGE->get_renderer('tool_policy');
$page = new \tool_policy\output\guestconsent();