mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-75903 output: increase precision of primary active node matching.
Co-authored-by: Mikel Martín <mikel@moodle.com>
This commit is contained in:
parent
7c3188b2ca
commit
94818dd23f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user