mirror of
https://github.com/moodle/moodle.git
synced 2025-01-21 07:28:31 +01:00
Slight fix to teacheronly coloring
This commit is contained in:
parent
3d89198946
commit
278a229c25
@ -318,7 +318,7 @@ function forum_print_recent_activity(&$logs, $isteacher=false) {
|
||||
//Only if the mod is visible
|
||||
if ($modvisible) {
|
||||
if ($post) {
|
||||
$teacherpost = "";
|
||||
$teacheronly = "";
|
||||
if ($forum = get_record("forum", "id", $post->forum) ) {
|
||||
if ($forum->type == "teacher") {
|
||||
if ($isteacher) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user