Merge branch 'MDL-27741' of git://github.com/rwijaya/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 11 Jul 2011 17:35:41 +0000 (19:35 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 11 Jul 2011 17:35:41 +0000 (19:35 +0200)
mod/forum/lib.php

index 45bc847..f1f1583 100644 (file)
@@ -4601,7 +4601,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);