Skip to content

Commit

Permalink
Merge branch 'MDL-27741_m20' of git://github.com/rwijaya/moodle into …
Browse files Browse the repository at this point in the history
…MOODLE_20_STABLE
  • Loading branch information
stronk7 committed Jul 11, 2011
2 parents 7ba9375 + 9bb6e09 commit 0d81404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/forum/lib.php
Expand Up @@ -4605,7 +4605,7 @@ function forum_get_subscribe_link($forum, $context, $messages = array(), $cantac
return $messages['cantaccessgroup'];
} else {
if (!is_enrolled($context, $USER, '', true)) {
return get_string('no');
return '';
}
if (is_null($subscribed_forums)) {
$subscribed = forum_is_subscribed($USER->id, $forum);
Expand Down

0 comments on commit 0d81404

Please sign in to comment.