mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-55074 theme_boost: Undefined variable in perf footer
This commit is contained in:
parent
ba5c5083c5
commit
8387614051
@ -8887,9 +8887,10 @@ function get_performance_info() {
|
||||
$info = array();
|
||||
$info['txt'] = me() . ' '; // Holds log-friendly representation.
|
||||
|
||||
$info['html'] = '';
|
||||
if (!empty($CFG->themedesignermode)) {
|
||||
// Attempt to avoid devs debugging peformance issues, when its caused by css building and so on.
|
||||
$info['html'] = '<p><strong>Warning: Theme designer mode is enabled.</strong></p>';
|
||||
$info['html'] .= '<p><strong>Warning: Theme designer mode is enabled.</strong></p>';
|
||||
}
|
||||
$info['html'] .= '<ul class="list-unstyled m-l-1">'; // Holds userfriendly HTML representation.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user