mirror of
https://github.com/moodle/moodle.git
synced 2025-04-05 00:12:42 +02:00
MDL-47877 mod_forum: Correct subscription options for forums
Test was the wrong way around when checking subscription state.
This commit is contained in:
parent
c5258dfa04
commit
7545e84661
@ -268,7 +268,7 @@ if ($generalforums) {
|
||||
}
|
||||
|
||||
if ($can_subscribe) {
|
||||
if (\mod_forum\subscriptions::subscription_disabled($forum)) {
|
||||
if (!\mod_forum\subscriptions::subscription_disabled($forum)) {
|
||||
$row[] = forum_get_subscribe_link($forum, $context, array('subscribed' => $stryes,
|
||||
'unsubscribed' => $strno, 'forcesubscribed' => $stryes,
|
||||
'cantsubscribe' => '-'), false, false, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user