Permalink
Browse files

Merge branch 'wip-MDL-62796-35' of git://github.com/marinaglancy/mood…

…le into MOODLE_35_STABLE
  • Loading branch information...
dmonllao committed Jul 2, 2018
2 parents d42328e + dd05e0d commit 5a13884a0f7b44fab23ef126520b6ff610b86fb7
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/tool/policy/lib.php
@@ -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();

0 comments on commit 5a13884

Please sign in to comment.