From 631135fa55ca1f3553af2970fb58eed20eac9b3a Mon Sep 17 00:00:00 2001 From: Alexander Bias Date: Sun, 31 Mar 2024 08:37:51 +0200 Subject: [PATCH] Regression: Migrating the before_standard_html_head() function to the new hook callback broke the login page on Moodle 4.3, resolves #613 (#614) --- lib.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib.php b/lib.php index 4dc43b7e49b..d8c7de17464 100644 --- a/lib.php +++ b/lib.php @@ -504,6 +504,10 @@ function theme_boost_union_pluginfile($course, $cm, $context, $filearea, $args, * @return string */ function theme_boost_union_before_standard_html_head() { + global $CFG; + + // Require local library. + require_once($CFG->dirroot.'/theme/boost_union/locallib.php'); // Call and return callback implementation. return theme_boost_union_callbackimpl_before_standard_html();