diff --git a/app/controllers/course/messenger.php b/app/controllers/course/messenger.php
index 3e692aa298b888cd2d935aef45d7599dacc71dfc..710ac871de83d9607f4dc8fda4eea40aae08c8ef 100644
--- a/app/controllers/course/messenger.php
+++ b/app/controllers/course/messenger.php
@@ -12,16 +12,20 @@ class Course_MessengerController extends AuthenticatedController
 
     public function course_action($thread_id = null)
     {
-        if (Context::get()) {
-            PageLayout::setTitle(Context::get()->getFullName() . ' - ' . _('Blubber'));
+        $context = Context::get();
+
+        if (!$context) {
+            throw new CheckObjectException(_('Sie haben kein Objekt gewählt.'));
         }
 
         if (Navigation::hasItem('/course/blubber')) {
             Navigation::activateItem('/course/blubber');
         }
 
+        PageLayout::setTitle($context->getFullName() . ' - ' . _('Blubber'));
+
         $this->search = '';
-        $this->threads = BlubberThread::findByContext(Context::get()->id, true, Context::getType());
+        $this->threads = BlubberThread::findByContext($context->id, true, Context::getType());
         $this->thread = null;
         $this->threads_more_down = 0;