aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/admin.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-24 01:46:08 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-24 01:46:08 +0000
commit2aa481c0ac877eacf643cd71c5701c1c271140da (patch)
tree8502b3be1c16cdbfa655ec96c2da378f7ed05cf9 /engine/lib/admin.php
parentc667ce609dc3c1f9f071e39293f8c176d3e1c5dc (diff)
downloadelgg-2aa481c0ac877eacf643cd71c5701c1c271140da.tar.gz
elgg-2aa481c0ac877eacf643cd71c5701c1c271140da.tar.bz2
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
Diffstat (limited to 'engine/lib/admin.php')
-rw-r--r--engine/lib/admin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php
index 3f4a331de..1c78ce210 100644
--- a/engine/lib/admin.php
+++ b/engine/lib/admin.php
@@ -137,7 +137,7 @@ function elgg_add_admin_menu_item($section_id, $section_title, $parent_id = NULL
return elgg_register_menu_item('page', array(
'name' => $name,
- 'url' => $href,
+ 'href' => $href,
'text' => $section_title,
'context' => 'admin',
'parent_name' => $parent_id,
@@ -204,7 +204,7 @@ function admin_init() {
// dashboard
elgg_register_menu_item('page', array(
'name' => 'dashboard',
- 'url' => 'pg/admin/dashboard',
+ 'href' => 'pg/admin/dashboard',
'text' => elgg_echo('admin:dashboard'),
'context' => 'admin',
'weight' => 10,