Skip to content
Snippets Groups Projects
Commit 8d765ce9 authored by Alexander Bias's avatar Alexander Bias
Browse files

Bugfix: There might be a debug message when prioritizemyteachedcourses setting is enabled

parent d7dad303
Branches
Tags
No related merge requests found
......@@ -4,6 +4,10 @@ moodle-block_course_overview_campus
Changes
-------
### Unreleased
* 2018-08-26 - Bugfix: There might be a debug message when prioritizemyteachedcourses setting is enabled.
### v3.5-r1
* 2018-07-02 - Fix some visual flaws and changes which came with BS 4 stable.
......
......@@ -515,7 +515,7 @@ class block_course_overview_campus extends block_base {
}
// Teacher information.
if ($coc_config->teachercoursefilter == true || $coc_config->secondrowshowteachername == true) {
if ($coc_config->teachercoursefilter == true || $coc_config->secondrowshowteachername == true || $coc_config->prioritizemyteachedcourses == true) {
// Get course teachers based on global teacher roles.
if (count($teacherroles) > 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment