mirror of
https://github.com/e107inc/e107.git
synced 2025-09-08 05:11:01 +02:00
Closes #313 - Navigation active class issue.
This commit is contained in:
@@ -1472,6 +1472,17 @@ class e_navigation
|
||||
return true;
|
||||
}
|
||||
|
||||
// XXX Temporary Fix - TBD.
|
||||
// Set the URL matching in the page itself. see: forum_viewforum.php and forum_viewtopic.php
|
||||
if(defined("NAVIGATION_ACTIVE") && !$data['link_sub'])
|
||||
{
|
||||
if(strpos($data['link_url'], NAVIGATION_ACTIVE)!==false)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user