Fix navigation on modules with subpaths

This commit is contained in:
Adrian Preuß committed 2019-05-19 13:31:08 +02:00
1 parent fdf43c845d
commit 584ad5d19d
1 file changed
+1 -1
+1 -1
View File
@@ -111,7 +111,7 @@
'order' => $this->info->getOrder(),
'target' => $core->getHooks()->applyFilter('TARGET_' . $this->info->getName(), NULL),
'url' => $core->getHooks()->applyFilter('URL_' . $this->info->getName(), sprintf('/module/%s', basename($this->path))),
'active' => $core->getRouter()->is(sprintf('/module/%s', basename($this->path)))
'active' => $core->getRouter()->startsWith(sprintf('/module/%s', basename($this->path)))
];
return $entries;