Skip to content

Commit

Permalink
Merge branch 'wip-MDL-62796-35' of git://github.com/marinaglancy/mood…
Browse files Browse the repository at this point in the history
…le into MOODLE_35_STABLE
  • Loading branch information
David Monllao committed Jul 2, 2018
2 parents d42328e + dd05e0d commit 5a13884
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 5a13884

Please sign in to comment.