MDL-75903 output: increase precision of primary active node matching.
Co-authored-by: Mikel Martín <[email protected]>
This commit is contained in:
co-authored by
Mikel Martín
parent
fdbcfa1b15
commit
bc220f8d72
@@ -161,7 +161,7 @@ class primary extends view {
|
||||
if ($node->key && ($activekey === $node->key)) {
|
||||
return $node;
|
||||
}
|
||||
} else if ($node->check_if_active(URL_MATCH_BASE)) {
|
||||
} else if ($node->check_if_active(URL_MATCH_EXACT)) {
|
||||
return $node;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user