aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-11-05 10:53:47 +0100
committerSem <sembrestels@riseup.net>2012-11-05 10:53:47 +0100
commit080a5acc3afdaae62da55ff6b970193eca2d6d8d (patch)
tree0fcd8b8fb38f2eed0d2553020d7ab42e80364815 /engine/classes
parente0bbcb47752c8180381da633d6ddf4703170e0f1 (diff)
downloadelgg-080a5acc3afdaae62da55ff6b970193eca2d6d8d.tar.gz
elgg-080a5acc3afdaae62da55ff6b970193eca2d6d8d.tar.bz2
Replaced full_url by current_page_url everywhere.
Diffstat (limited to 'engine/classes')
-rw-r--r--engine/classes/ElggMenuBuilder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggMenuBuilder.php b/engine/classes/ElggMenuBuilder.php
index de0017599..06000c923 100644
--- a/engine/classes/ElggMenuBuilder.php
+++ b/engine/classes/ElggMenuBuilder.php
@@ -158,7 +158,7 @@ class ElggMenuBuilder {
// scan looking for a selected item
foreach ($this->menu as $menu_item) {
if ($menu_item->getHref()) {
- if (elgg_http_url_is_identical(full_url(), $menu_item->getHref())) {
+ if (elgg_http_url_is_identical(current_page_url(), $menu_item->getHref())) {
$menu_item->setSelected(true);
return $menu_item;
}