diff --git a/app/controllers/SeminaryController.inc b/app/controllers/SeminaryController.inc index c43c9d6c..53661ab6 100644 --- a/app/controllers/SeminaryController.inc +++ b/app/controllers/SeminaryController.inc @@ -151,7 +151,8 @@ private function checkAchievements(\nre\core\Request $request, \nre\core\Response $response) { // Do not check MediaController - if($this->request->getParam('layout') != \nre\configs\AppConfig::$defaults['toplevel']) { + $layout = $this->request->getParam('layout'); + if(!empty($layout) && $layout != \nre\configs\AppConfig::$defaults['toplevel']) { return; }