Commit 70394fd0 authored by nirgendswo's avatar nirgendswo

bug for detect path also with additionals parameters

parent 54ce84d3
......@@ -103,8 +103,8 @@ class ViewHelper
{
$result = '';
if (($page->slug === '' && Request::path() === '/') ||
(Request::path() === $page->slug)) {
if (($page->slug === '' && Request::get('slug') === '') ||
(Request::get('slug') === $page->slug)) {
$result = $class;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment