Merge branch 'MDL-66458-master' of git://github.com/crazyserver/moodle
authorAdrian Greeve <abgreeve@gmail.com>
Wed, 28 Aug 2019 03:25:16 +0000 (11:25 +0800)
committerAdrian Greeve <abgreeve@gmail.com>
Wed, 28 Aug 2019 03:25:16 +0000 (11:25 +0800)
mod/forum/view.php

index aee7394..6e4acac 100644 (file)
@@ -94,7 +94,7 @@ if (empty($cm->visible) && !has_capability('moodle/course:viewhiddenactivities',
 if (!$capabilitymanager->can_view_discussions($USER)) {
     redirect(
         $urlfactory->get_course_url_from_forum($forum),
-        get_string('noviewdiscussionspermission', 'fourm'),
+        get_string('noviewdiscussionspermission', 'forum'),
         null,
         \core\output\notification::NOTIFY_WARNING
     );