1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Fix for active nav detection while SEF URL in use.

This commit is contained in:
Cameron
2021-07-15 17:51:08 -07:00
parent ebe9c8cf13
commit 389a76efe2

View File

@@ -1877,7 +1877,7 @@ i.e-cat_users-32{ background-position: -555px 0; width: 32px; height: 32px; }
$manualOverride = e107::getRegistry('core/e107/navigation/active');
if(!empty($manualOverride) && empty($data['link_sub']))
{
if(strpos($data['link_url'], $manualOverride) !==false)
if(strpos($dbLink, $manualOverride) !==false)
{
return true;
}