mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02: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