Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
Showing only changes of commit 1818bf105d - Show all commits

View File

@ -100,8 +100,8 @@ class MenuGenerator extends UrlGenerator {
foreach ($menu_config as $title => $path) foreach ($menu_config as $title => $path)
{ {
$has = $this->string($path)->contains($this->path()); $has = $this->string($this->path())->contains($path);
$selected = ($has && strlen($path) >= strlen($this->path())); $selected = ($has && strlen($this->path()) >= strlen($path));
$link = $this->helper->a($this->url($path), $title); $link = $this->helper->a($this->url($path), $title);