diff options
Diffstat (limited to 'engine/classes/ElggMenuBuilder.php')
-rw-r--r-- | engine/classes/ElggMenuBuilder.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/classes/ElggMenuBuilder.php b/engine/classes/ElggMenuBuilder.php index 4f9e7b447..9112c9535 100644 --- a/engine/classes/ElggMenuBuilder.php +++ b/engine/classes/ElggMenuBuilder.php @@ -153,8 +153,8 @@ class ElggMenuBuilder { // scan looking for a selected item foreach ($this->menu as $menu_item) { - if ($menu_item->getURL()) { - if (elgg_http_url_is_identical(full_url(), $menu_item->getURL())) { + if ($menu_item->getHref()) { + if (elgg_http_url_is_identical(full_url(), $menu_item->getHref())) { $menu_item->setSelected(true); return $menu_item; } |