Skip to content
Snippets Groups Projects
Commit d924c6fa authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by Elmar Ludwig
Browse files

blubber: activate navigation only if it is present, fixes #943

Closes #943
parent 4660ef7a
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,9 @@ class MessengerController extends PluginController
{
PageLayout::setTitle(_("Blubber"));
Navigation::activateItem("/course/blubber");
if (Navigation::hasItem('/course/blubber')) {
Navigation::activateItem("/course/blubber");
}
$this->threads = BlubberThread::findByContext(Context::get()->id, true, Context::getType());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment