mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
src: phpcs sure is picky today
This commit is contained in:
parent
acc9db9efb
commit
227a53ba29
@ -286,10 +286,8 @@ class MenuItem
|
||||
foreach ($this->children as $nodeId => $node) {
|
||||
$node->toggleSelected($url);
|
||||
if ($node->getUrl() != "") {
|
||||
if (
|
||||
strlen($url) >= strlen($node->getUrl()) &&
|
||||
$node->getUrl() == substr($url, strlen($url)-strlen($node->getUrl()))
|
||||
) {
|
||||
if (strlen($url) >= strlen($node->getUrl()) &&
|
||||
$node->getUrl() == substr($url, strlen($url)-strlen($node->getUrl()))) {
|
||||
$node->select();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user