Skip to content

Commit

Permalink
Merge branch 'wip-MDL-62796-master' of git://github.com/marinaglancy/…
Browse files Browse the repository at this point in the history
…moodle
  • Loading branch information
David Monllao committed Jul 2, 2018
2 parents e460c95 + e2029b8 commit 3f3d7fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/tool/policy/lib.php
Expand Up @@ -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();

Expand Down

0 comments on commit 3f3d7fe

Please sign in to comment.