Skip to content
Snippets Groups Projects

Applied core patch against new forum module

4 files
+ 37
8
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -178,7 +178,7 @@ class ForumController extends ControllerBase {
*/
public function forumIndex() {
$vocabulary = $this->vocabularyStorage->load($this->config('forum.settings')->get('vocabulary'));
$index = $this->forumManager->getIndex();
$index = $this->forumManager->getIndex($this->languageManager()->getCurrentLanguage()->getId());
$build = $this->build($index->forums, $index);
if (empty($index->forums)) {
// Root of empty forum.
Loading