mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Added a more robust check to avoid a notice
This commit is contained in:
parent
90af9dccd3
commit
c5eb407be4
@ -221,7 +221,7 @@
|
||||
$forumlink = $forumname;
|
||||
$discussionlink = $count;
|
||||
} else {
|
||||
if ($forum->visible) {
|
||||
if (!empty($forum->visible)) {
|
||||
$style = '';
|
||||
} else {
|
||||
$style = 'class="dimmed"';
|
||||
|
Loading…
x
Reference in New Issue
Block a user