diff --git a/mod/forum/index.php b/mod/forum/index.php index b06f87efd89..f0ea4a8f693 100644 --- a/mod/forum/index.php +++ b/mod/forum/index.php @@ -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);