From 2aa481c0ac877eacf643cd71c5701c1c271140da Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 24 Feb 2011 01:46:08 +0000 Subject: Fixes #2997 - href used instead of url in menu system git-svn-id: http://code.elgg.org/elgg/trunk@8456 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/pages/lib/pages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/pages/lib/pages.php') diff --git a/mod/pages/lib/pages.php b/mod/pages/lib/pages.php index c9a1b27b6..079155190 100644 --- a/mod/pages/lib/pages.php +++ b/mod/pages/lib/pages.php @@ -81,7 +81,7 @@ function pages_register_navigation_tree($container) { elgg_register_menu_item('pages_nav', array( 'name' => $page->getGUID(), 'text' => $page->title, - 'url' => $page->getURL(), + 'href' => $page->getURL(), )); $stack = array(); @@ -99,7 +99,7 @@ function pages_register_navigation_tree($container) { elgg_register_menu_item('pages_nav', array( 'name' => $child->getGUID(), 'text' => $child->title, - 'url' => $child->getURL(), + 'href' => $child->getURL(), 'parent_name' => $parent->getGUID(), )); array_push($stack, $child); -- cgit v1.2.3