only check Achievements for default ToplevelAgent correctly (Issue #253)
This commit is contained in:
parent
c93261a98f
commit
3655eb3b15
1 changed files with 1 additions and 2 deletions
|
|
@ -151,8 +151,7 @@
|
|||
private function checkAchievements(\nre\core\Request $request, \nre\core\Response $response)
|
||||
{
|
||||
// Do not check MediaController
|
||||
$layout = $this->request->getParam('layout');
|
||||
if(!empty($layout) && $layout != \nre\configs\AppConfig::$defaults['toplevel']) {
|
||||
if($this->request->getParam(0, 'toplevel') != \nre\configs\AppConfig::$defaults['toplevel']) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue